2

Currently duplicity supports (...) symbolic links (...) but not hard links.

http://www.nongnu.org/duplicity/duplicity.1.html

It is not clarified but most likely it means that soft links are followed. For obvious reasons I want to avoid backuping ~/Desktop/temporary_symbolic_link_to_hard_drive_with_gbs_of_data and other symbolic-link related problems.

How can I disable following symbolic links by duplicity (like --no-dereference option in diff command)?

I know that I can use --exclude option but it requires generating backup command by script detecting symbolic links but it would be overcomplicated and fragile.

1 Answers1

6

Duplicity now supports this (in version v0.7.11 and up) via the --copy-links option. See the duplicity man page.

Note that this a later version of duplicity than standard Ubuntu trusty or xenial packages. You need to install duplicity from upstream e.g. ppa:duplicity-team/ppa