Backup dir issue

Alan Chandler 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

ARCH=/bak/archive

rsync -aHxq --delete --backup --backup-dir=$ARCH/snap/mydocs/ /home/alan/mydocs/ 
roo::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.
 


-- 
Alan Chandler
http://www.chandlerfamily.org.uk


More information about the rsync mailing list