stepping-stone / sepiola

Sepiola - Online Backup Client
http://www.sepiola.org/
GNU General Public License v2.0
5 stars 2 forks source link

Store original permissions and ownership in extended attributes #13

Open dev-zero opened 10 years ago

dev-zero commented 10 years ago

rsync has a flag to store permissions and ownership in extended attributes if it is unable to reproduce them on the target (the online backup server).

Benefits:

paraenggu commented 10 years ago

Do you mean the --fake-super option? If yes and the Windows rsync version has support for it, I certainly would give it a shot.

paraenggu commented 10 years ago

There's one negative side-effect with this change, imagine if you have a large file (say a few gigs) where you only change the permissions and not it's content. As rsync will store the permissions within the extended attributes of this file on the server side, the file changes nonetheless. Which, in turn, results in a complete copy on the server snapshots.