rsync --link-dest option with the destination directory containing old files.

Wayne Davison wayned at samba.org
Tue Dec 23 04:56:09 GMT 2008


On Tue, Dec 23, 2008 at 10:22:42AM +1100, Robert Bell wrote:
> we would like rsync to use a hard-link from ../backup.1 in
> preference to a new copy from source/ to backup.0/ .

That's not something that I plan to implement.  I'd suggest changing
your naming to always use a new directory, which will allow you to
remove the oldest backup directory at your leisure.

..wayne..


More information about the rsync mailing list