WARNING: rsync mirror is erased when remote HD-dies

jw schultz jw at pegasys.ws
Sat Apr 5 21:05:44 EST 2003


On Sat, Apr 05, 2003 at 12:10:41PM +0200, wilhelm.moser at demos.at wrote:
> Hello,
> 
> I faced a problem with rsync-ing like this
> 
> server blue 3-HD's as Linux Sofware-RAID 0 (striping) - Webserver EXT3
> server green 3-HD's as Linux Sofware-RAID 0 (striping) - Backupserver EXT3
> 
> During the rsync-2.4.6-13 process one of the HD's on blue died. Though
> rsync decided to remove the mirrored directories from green (the
> backup-server).
> This process resulted in a partial loss of Data. (With an 120 GB mirror no
> further Backup exists)
> Any suggestions to avoid that?

First, don't have just one backup copy.  Second, use a RAID
type that provides redundancy to survive a disk dying.
Third, if you won't have multiple backup trees you could use
the --max-delete option.  Finally, you might want to upgrade
although that in itself wouldn't avoid the problem of
syncing from an absent disk.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt


More information about the rsync mailing list