--no-tweak-hlinked [Re: Pushing hard-linked backups]
Matt McCutchen
matt at mattmccutchen.net
Sun Dec 30 02:45:11 GMT 2007
On Sat, 2007-12-29 at 21:35 -0500, Matt McCutchen wrote:
> 1. [...] However, now that the module
> shares files with snapshots, the snapshots could become corrupted if the
> shared files' attributes are tweaked via the module. To avoid this, use
> the --no-tweak-hlinked option implemented by my patch available at:
>
> https://bugzilla.samba.org/show_bug.cgi?id=4561#c1
>
> 2. [...] Also, if a push fails and has to be retried, you
> are at risk of corrupting snapshots as in #1. To avoid this, use
> --no-tweak-hlinked or, if you care less about the timeliness of the
> snapshot, --ignore-existing as recommended by the rsync man page.
Here is a note about the status of --no-tweak-hlinked for whoever it may
concern. Wayne said at
https://bugzilla.samba.org/show_bug.cgi?id=4768#c5
that he does not plan to add this option to the official rsync.
However, I have found this option very useful in a number of backup
scenarios, so I plan to resume maintaining my own custom version of
rsync, which will support --no-tweak-hlinked and anything else I think
is useful. This version of rsync will be available at:
http://mattmccutchen.net/rsync/
I will not advertise it on the main rsync list any further except when
it solves someone's problem.
Matt
More information about the rsync
mailing list