replicating a live directory

Lasse Kliemann lasse-rsync-2008 at
Sun May 18 10:26:26 GMT 2008

* Message by -Matt McCutchen- from Wed 2008-04-02:
> 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.

It should be possible to write programs in such a way that they can deal with 
that. Simply do not take anything for being atomic if it is not guaranteed to 
be atomic by the operating system.

But I am aware that unfortunately, there may be many applications that are not
designed and implemented in that way.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url :

More information about the rsync mailing list