DO NOT REPLY [Bug 4793] link-dest hardlink does not always work
well with -o -g -p
samba-bugs at samba.org
samba-bugs at samba.org
Fri Jul 20 15:36:22 GMT 2007
https://bugzilla.samba.org/show_bug.cgi?id=4793
------- Comment #4 from hashproduct+rsync at gmail.com 2007-07-20 10:36 CST -------
(In reply to comment #3)
> Is there a tool to save permissions and then reapply them?
> This would work for me.
The rsync source package comes with a Perl tool to reapply attributes of your
choice (permissions, user owners, and/or group owners), which you can also find
here: http://rsync.samba.org/ftp/unpacked/rsync/support/file-attr-restore .
The corresponding attribute-saving tool is just "find . -ls".
Another alternative you might consider is using rdiff-backup (
http://www.nongnu.org/rdiff-backup/ ). It makes a backup zone containing a
full tree of the most recent backup, a separate listing of all the original
attributes (so they are known if the attributes on the backup tree are never
set or get corrupted), and a chain of backward deltas of files and attributes
for previous backups. The advantage is that you get data and attributes for
all backups in less space than with rsync --link-dest; the disadvantage is
that, to restore files from a previous backup, you have to go through
rdiff-backup rather than copying the files out directly.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list