replicating a live directory

Matt McCutchen matt at mattmccutchen.net
Wed Apr 2 13:50:45 GMT 2008


On Sun, 2008-03-30 at 20:55 +0200, Lasse Kliemann wrote:
> * Message by -Joao Miguel Ferreira- from Sun 2008-03-30:
> > We would really like to leave all those important services up but we are
> > really affraid of producing a corrupted replica...
> 
> Use filesystem snapshots.
> 
> Linux supports them via LVM. 
> Solaris and FreeBSD offer them too.

It's not clear to me how a filesystem snapshot would solve the problem.
It guarantees that rsync sees an instantaneous state of the filesystem,
but that state could still include files that are half-modified by other
programs.

Matt



More information about the rsync mailing list