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 ? Njegos
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
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. -- john r pierce N 37, W 122 santa cruz ca mid-left coast
On Tue, 9 Aug 2011, 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.There is also rdiff-backup if you need history. Of course it is not a perfect solution either. Any solution is going to have trade offs. Regards, -- Tom Diehl tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com