[CentOS] backup / compressed copy

Christopher Chan christopher at ias.com.hk
Tue Dec 4 23:09:57 UTC 2007


Antonio da Silva Martins Junior wrote:
> ----- "Andreas Kuntzagk" <andreas.kuntzagk at mdc-berlin.de> escreveu:
>>>> So to reduce load I'd like to have a script that:
>>>>
>>>> identifies changed files only (using md5?)
>>>> copies them
>>>> and compresses them
>>>>
>>> Well, I'm using "rsync --link-dest" to do this. This article 
>>> "http://www.rootprompt.org/article.php3?article=8976" had the
>>> principle but didn't use "--link-dest".
>> Well, but rsync doesn't compress, does it?
>> So I would need to compress first and then rsync - meaning I need to
>> keep the compressed files around twice. 
> 
> Well, rsync can "compress on the wire" (the data travels compressed), but
> rsync will do the first two items: identifies changed files and copy them.
> The compress to tape part will need to be done after that :) On the other
> hand, with the prices of tapes and HD today, I had chose to buy two servers
> with a lot of HD on each, put each one on a different building, and make a
> backups on them. 
> 

Oh yeah. Since it is a Sun box too might as well run Solaris 10 or 
OpenSolaris and use zfs which comes with compression and snapshot 
capabilities among others.



More information about the CentOS mailing list