[CentOS] Two Samba Servers and Rsync

Les Mikesell lesmikesell at gmail.com
Tue Aug 9 20:05:54 UTC 2011


On 8/9/2011 2:50 PM, Railic Njegos wrote:
> Hi all,
> I plan to implement two file servers on CentOS 6 i a two remote location.
> i need to backup all data from second server on first. First server will be a
> virtual machine on Esxi, and second server will be physical machine.
>
> I plan to use rsync to sync data from second to first server. It is OK ?
> Any suggestion ?

Rsync is probably the best thing you will find for this.  As long as 
whatever you are doing can tolerate the possible differences between 
rsync runs it should be fine. Rysnc normally creates a new file under a 
tmp name, renaming only when the transfer is complete so programs 
accessing the data will only see one version or the other, not an 
inconsistent copy as the transfer progresses.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the CentOS mailing list