check "--link-dest" directory first

Norbert Wild nwil at ganter-griff.de
Mon Oct 18 08:45:52 GMT 2004


I use rsync to backup several servers to harddisk on a backupserver.
To save space i use the --link-dest option which creates a hardlink to 
the file of the last backup if the file hasn´t changed.

If a file already exists in the destination directory then an maybe 
existing file in the --link-dest directory is ignored.
The existing file will be overwritten with the new version regardless 
whether the new version allready exists in the --link-dest directory.

Is there a way to mak rsync check for existing files in the --link-dest 
directory first?
(something like a --check-linkdest-first option)

regards
norbert


More information about the rsync mailing list