Disaster Recovery and Rsync (was [lug] Commercial rsync service?)

Jeffrey Siegal jbs at quiotix.com
Fri Feb 3 15:59:29 MST 2006


On Feb 3, 2006, at 13:00 , Siegfried Heintze wrote:

> (2) Would you daily rsync everything including the /usr/bin, /bin,
> /usr/local/bin, /etc, etc...? I guess you would use the find  
> command to
> exclude stuff in the /mnt directory so you would not include the  
> entirety of
> other devices on other machines.

See rsync -x

> (3) How do databases work? Do you have to stop the (for example) MySQL
> deamon while you do the rsync? My guess is definitely. What about the
> subversion or cvs deamons? Could this be a problem if you try to use a
> single rsync command for an entire computer's local storage and it  
> takes a
> long time? It seems to me like you would want to have a lot of  
> short shell
> scripts to run daily so you don't have to shut down all your  
> servers at once
> for the entire duration of the synchronization.

One way do deal with this is to use LVM snapshots.  Snapshot, mount  
snapshot read only, rsync from snapshot, unmount and then delete the  
snapshot.


> (4) What about links? Creators of linux distros love links. Does rsync
> properly reconstruct hard and soft links?

-l and -H




More information about the LUG mailing list