Is --link-dest supported on remote ssh side?

Frederik freggy at gmail.com
Tue Apr 17 10:45:32 GMT 2007


I'm trying to make backups with rsync with the --list-dest option.

My first backup is made like this:

rsync -azR --delete -e ssh --exclude-from=./exclude.lst /tmp/test
login at server:/tmp/backup/backup-nelly-2007-04-17-12-34-26/

Without touching any of the files which were backed up, I launch a new
backup with this command:
rsync -azR --delete -e ssh --exclude-from=./exclude.lst
--link-dest=/tmp/backup/nelly-2007-04-17-12-34-26 /tmp/test
login at server:/tmp/backup/backup-nelly-2007-04-17-12-34-33/

I had expected all files in the second backup to be hard links to the
first backup files, but this does not seem to be the case:

ls -1 -i backup-nelly*/tmp/test/testfile
10286511 backup-nelly-2007-04-17-12-34-26/tmp/test/testfile
10286738 backup-nelly-2007-04-17-12-34-33/tmp/test/testfile

Both client and server side are using rsync 2.6.9 protocol version 29.

What am I doing wrong, or is this simply not supported?

-- 
Frederik


More information about the rsync mailing list