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
On Mon, Oct 18, 2004 at 10:45:52AM +0200, Norbert Wild wrote:> Is there a way to mak rsync check for existing files in the --link-dest > directory first?No, not at the moment. You might want to check into the BackupPC software (that uses the rsync protocol) and see if that is something that might be a better match for what you're trying to do. It is linked on the resources page of the rsync website. ..wayne..
Seemingly Similar Threads
- multiple --link-dest options
- DO NOT REPLY [Bug 3693] New: rsync can use same --link-dest file several times, leading to incorrect hard links
- Bug#666024: rsync --link-dest can incorrectly hardlink together destination files
- please help: smbd 100% cpu usage
- --detect-moved patch and --link-dest