The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem syncing logical volume in root vg matt.d UNIX for Advanced & Expert Users 1 04-10-2008 10:12 AM
Syncing your BlackBerry on Linux iBot UNIX and Linux RSS News 0 12-21-2007 08:40 AM
Syncing server clocks in Solaris Remi SUN Solaris 3 01-16-2007 02:53 PM
Kernel panic - not syncing == While RHEL AS install Crazy_murli UNIX for Dummies Questions & Answers 0 07-21-2006 03:12 AM
NTPD seems to be not syncing !!! csaha Linux 12 01-09-2006 08:40 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2004
Registered User
 

Join Date: Nov 2004
Posts: 20
Question filesystem syncing

Does anyone know if there is free software that can keep 2 filesystem on remote machines , synced.
This will be part of our Disaster Recovery to keep one machine off site , which will take over should the need arise..

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-22-2004
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Have you tried "man rsync"?

Cheers
ZB
Reply With Quote
  #3 (permalink)  
Old 11-22-2004
Cameron's Avatar
Registered User
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 486
If the rsync man pages have not been installed, then you'll see nothing.

If you've not got it already, check out rsync HERE!.
Reply With Quote
  #4 (permalink)  
Old 11-22-2004
Registered User
 

Join Date: Nov 2004
Posts: 20
rsync

Thanks for your reply.
Will try rsync.

Cheers!
Reply With Quote
  #5 (permalink)  
Old 12-02-2004
Registered User
 

Join Date: Feb 2004
Posts: 91
I'm running rsync to keep two filesystems synced up between two offices and it's working very well for me.

Here is an example of the command I'm using.

The first part, /opt/Files/ is what I'm copying, the second /Volumes/nonboot/opt/Files is where I'm copying it to. --delete is removing anything in the second directory that doesn't exist in the first directory. (Keep in mind, this command is running on the machine that relates to the second directory)

I'm running this via Cron and I have sshkeys setup so it doesn't require me to enter a password. Hope it helps some.

rsync -v -r -a -e ssh $ipaddress:/opt/Files/ /Volumes/nonboot/opt/Files --delete --progress
Reply With Quote
  #6 (permalink)  
Old 12-02-2004
Registered User
 

Join Date: Nov 2004
Posts: 20
Thanks for the help. )
Reply With Quote
  #7 (permalink)  
Old 12-02-2004
Registered User
 

Join Date: Feb 2004
Posts: 91
Quote:
Originally posted by markdr011
Thanks for the help. )
Haha sure. I've 'used' this forum quite a bit for answers. The least I can do is offer any info I'm able to for someone else.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0