home NAS - typical on-topicedness....

Andy Armstrong andy at hexten.net
Tue Feb 12 13:50:33 GMT 2008


On 12 Feb 2008, at 13:28, Philippe Bruhat (BooK) wrote:
> I'm doing cp -al followed by rsync -avzH, did I miss something that
> would make my backups go faster?


Here's the script I'm using:

http://hexten.net/junk/backup.sh

There's plenty of cruft in there. The PIPESTATUS stuff is a legacy of  
when rsync used to pipe its output through another script that added  
timestamps - should be OK just to test $? now. There's also stuff in  
there to grab a snapshot of my MySQL slave and merge it into the  
backup which you probably wouldn't need.

-- 
Andy Armstrong, Hexten






More information about the london.pm mailing list