Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 11:43:22 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        freebsd-questions@freebsd.org
Cc:        xi@borderworlds.dk
Subject:   Re: [OT] Re: What's the best possible email failover solution
Message-ID:  <20040622114322.440de5ef.wmoran@potentialtech.com>
In-Reply-To: <86llifzlim.fsf@borg.borderworlds.dk>
References:  <20040621132006.2b1a296f.wmoran@potentialtech.com> <a22ff294040621115173bad2e0@mail.gmail.com> <20040621172520.3544d6fe.wmoran@potentialtech.com> <20040621214348.GB63857@happy-idiot-talk.infracaninophile.co.uk> <20040621175626.3e762448.wmoran@potentialtech.com> <40D76DA3.9090809@mac.com> <20040621204111.6e684d45.wmoran@potentialtech.com> <40D79FF9.20308@mac.com> <20040622084726.524bfa39.wmoran@potentialtech.com> <3016.217.162.71.141.1087911989.squirrel@serv04.inetworx.ch> <20040622100825.01f0b258.wmoran@potentialtech.com> <40D8458D.1060500@zonnet.nl> <20040622105555.72a08502.wmoran@potentialtech.com> <86llifzlim.fsf@borg.borderworlds.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Laursen <xi@borderworlds.dk> wrote:

> Bill Moran <wmoran@potentialtech.com> writes:
> 
> > Nico Meijer <nico.meijer@zonnet.nl> wrote:
> > 
> > > Hi Bill,
> > > 
> > > > The other option is to take what appears to be the best IMAP server out
> > > > there (Cyrus) and figure out a way to do real-time mirroring of the
> > > > mailboxes.
> > > 
> > > Depending on the size / number of messages: how about using rsync and 
> > > OpenBSD's CARP?
> > > 
> > > True, it will not be realtime, but the synchronization (note the 
> > > "depending" above) might take place regularly.
> > 
> > Problem is: rsyncing the mail directories takes about 20 minutes, and the
> > only way to ensure that a good copy is achieved is to shut down Cyrus
> > during the backup.  This makes it a little prohibitive to be doing this
> > very often.
> 
> If you are running FreeBSD 5, you should be able to make a filesystem snapshot
> and rsync from there.

I suppose I should have commented on that ;)

We're not running FreeBSD 5 on these production machines yet ... but it's
likely we will be soon, so I'm considering using snapshots.

To my understanding, we still have to stop Cyrus while the snapshot is
being created (to ensure consistency) but since a snapshot takes a lot
less time than an rsync, this should be a big improvement.  Once the
snapshot is created, rsync can take as long as necessary.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040622114322.440de5ef.wmoran>