[CentOS] Two Samba Servers and Rsync

Les Mikesell lesmikesell at gmail.com
Wed Aug 10 01:08:41 UTC 2011


On 8/9/11 7:54 PM, John R Pierce wrote:
> On 08/09/11 12:50 PM, Railic Njegos wrote:
>> I plan to use rsync to sync data from second to first server. It is OK ?
>> Any suggestion ?
>
> rsync doesn't much tolerate network glitches in my experience.   its
> also a incremental file backup/copy, and won't be doing a 'snapshot' so
> if any of these files you're copying are things that are randomly
> updated like a database, its quite possible for the copy to be useless.
>
> as a backup strategy, having a single copy that you overwrite when you
> make a new copy is weak. you have no history, you can't recover the file
> that the user overwrote 2 days ago and forgot to tell you until today,
> as you just overwrote your backup with his mistake last night.
>
> it really depends on what the point of this replica is, what the usage
> patterns are, what the data archive expectancies are.

Yes, if what you really want is an on-line history you might like backuppc.  It 
can use rsync for the transport and keeps all duplicate files pooled as 
hardlinks with optional compression to be able to store more history than you 
would expect.  But then you have to restore to get usable copies.

-- 
   Les Mikesell
    lesmikesell at gmail.com






More information about the CentOS mailing list