Re: replicating a live directory

2008-05-18 Thread Lasse Kliemann
* 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 rep

Re: replicating a live directory

2008-04-02 Thread Jan-Benedict Glaw
On Wed, 2008-04-02 19:20:09 -0400, Matt McCutchen <[EMAIL PROTECTED]> wrote: > On Wed, 2008-04-02 at 19:15 -0400, Clark wrote: > > Matt McCutchen wrote: > > > It's not clear to me how a filesystem snapshot would solve the problem. > > > It guarantees that rsync sees an instantaneous state of the fi

Re: replicating a live directory

2008-04-02 Thread Matt McCutchen
On Wed, 2008-04-02 at 19:15 -0400, Clark wrote: > Matt McCutchen wrote: > > 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 othe

Re: replicating a live directory

2008-04-02 Thread Clark
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 snapshot

Re: replicating a live directory

2008-04-02 Thread Paul Slootman
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... >

Re: replicating a live directory

2008-04-02 Thread Matt McCutchen
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

Re: replicating a live directory

2008-03-31 Thread Paul Slootman
On Sun 30 Mar 2008, Joao Miguel Ferreira wrote: > > An example: if we do not stop sendmail were rsync'ing can we be sure that > the queues on the replica machine are in a consisten state ? I don't know how sendmail organizes things, but at least with exim there aren't any extra indexes or such th

Re: replicating a live directory

2008-03-30 Thread Jan-Benedict Glaw
On Sun, 2008-03-30 19:39:12 +0100, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote: > right now we use a 'greedy approach'... we stop all important services > (dhcpd, squid, sendmail, etc) just to minimize the possibility of copying to > the backup a file that was being written. > > Could we be ov

Re: replicating a live directory

2008-03-30 Thread Lasse Kliemann
* Message by -Joao Miguel Ferreira- from Sun 2008-03-30: > we are using rsync to produce a replica of our filesystem. > > it's very important for us to be sure that the files replicated on the > remote backup host are left in a consistent state as we may need to boot > services from those files