rsync

Darin Perusich Darin.Perusich at cognigencorp.com
Thu Sep 25 09:42:37 EDT 2003


i use the command "/usr/local/bin/rsync -aqlHpogt --delete -e 
/usr/local/bin/ssh /somedir server://rsync/somedir/" to make a mirror 
copy of data to a remote server. i've cron'd this job to run three times 
each day, it's much easier to restore files from the rsync copy then it 
is from tape.

Asheville Joe wrote:
> I wrote a script to use rsync to back up my /home daily to my second 
> hard drive.  It works dandy, but one question:
> 
> Running with an empty destination ("everything" should be copied), the 
> statistics at the end say it considered 15,147 files and backed up 
> 13,580.  How do I figure out what it didn't back up?  I tried -vv which 
> lists exactly what it took, but not what it left.  I tried 
> --copy-unsafe-links and the totals went to 15,830 and 14,098.  So, the 
> first way 1,567 files were skipped and the second way, 1,732 files were 
> skipped - more!
> 
> It is running as root (su) and the command line I used was:
> 
> /usr/bin/rsync -n -a -H -z -P --delete --no-whole-file /home 
> /mnt/portable/homersync >> /mnt/portable/rsync.log
> 
> Joe
> 
> ----------------------------------
> The difference between a goal and a dream is the written word. -Gene 
> Donohue
> 
> 
> 
> 
> 


-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com





More information about the nflug mailing list