On Tue, 2006-01-31 at 10:36 +1030, Daniel O'Connor wrote:
> On Tuesday 31 January 2006 09:47, Timo Veith wrote:
> > Which way would you recommend for copying: rsync, tar, cp or whatever? I
> > am concerned about the databases that cyrus uses. Will they they be
> > consistent afterwards. Is there anything I have to be aware of or do
> > before? I don't want to break things just because I am trying to do a
> > backup.
> 
> The DB's should always be consistent on disk, so if you do a snapshot then 
> you 
> can back it up however you like.

to pick a nit: you won't see dataloss, but the DB may need recovery.
since LVM snapshots are at the block layer, and DB consistency is only
guaranteed after a filesystem flush initiated by the userspace process,
there may be structures which are incompletely written on the block
layer.

-- 
Kjetil T.


----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to