Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsync to mirror two servers

Status
Not open for further replies.
Jan 19, 2003
34
US
I hear that you can use rsync to mirror two servers to create a redundant system. Is this true? And if so could someone give me an example how they have done it in the past? These are two cobalt raq4 web servers.
 
I mirror a directory between my "old" and "new" ftp sites with the command:
rsync -az -e ssh --delete ~ftp/pub/samba/ nimbus:"~ftp/pub/tridge/samba"

this is launched from cron every few hours.

I also would suggest "man rsync"

regards
 
Ok, I read the man page and some examples and I understand about how to sync a coupla' folders. But what about the whole entire filesystem? Is that possible? What about copying the OS while it is running? Could that even be possible? Or will it only work for folders and files not in use?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top