gilbertchen / duplicacy

A new generation cloud backup tool
https://duplicacy.com
Other
5.12k stars 334 forks source link

Duplicacy not preserving chattr attributes or not restoring them #468

Open gitfan2 opened 6 years ago

gitfan2 commented 6 years ago

Started to test Duplicacy today. Looks promising. Debian 7.11. So far so good, but it seems that chattr attributes are either not being preserved when backing up or perhaps they are being preserved but not being restored.

Is there a switch to enable these attributes (couldn't see any in the wiki)?

Backed-up file: # lsattr 1.txt ----i----------- 1.txt

Restored file: # lsattr 1.txt ---------------- 1.txt

In the same vein, how does Duplicacy deal with symlinks & hard links?

Thanks.

gilbertchen commented 6 years ago

Currently chattr attributes are not preserved. Symlinks in the repository root are followed as if they were subdirectories, while symlinks in subdirectories are backed up as symlinks. There is no special handling for hard links (hard linked files are backed up as regular files).