replicating a live directory

Paul Slootman paul+rsync at wurtel.net
Wed Apr 2 14:30:20 GMT 2008


On Wed 02 Apr 2008, Matt McCutchen wrote:
> 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.

> 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.

That's usually preferable to having an inconsistent set of files.
Still not ideal, but still...
Some apps can also be told to go into a "freeze" state before making
such a snapshot (e.g. oracle).


Paul Slootman


More information about the rsync mailing list