Backup dir issue
alan at chandlerfamily.org.uk
Tue Sep 26 07:56:11 GMT 2006
I am trying to create an archive of one of my home directories for items that
have changed or been deleted. I am well aware of the --backup option, but it
seems not to work across an rsyncd connection
(excuse word wrap from my mailer) but this snippet illustrates the point
rsync -aHxq --delete --backup --backup-dir=$ARCH/snap/mydocs/ /home/alan/mydocs/
This is run from a cron job (and as root)
If I delete files from mydocs on my local machine and run this, I would expect
a copy of them to appear on /bak/archive/snap/mydocs on the local machine.
I assume it has something to do with the fact that the destination is remote.
Is that true?
The problem with trying to do this from the other machine is that I would have
disk space issues with the ultimate size of my archive.
More information about the rsync