[prev in list] [next in list] [prev in thread] [next in thread]
List: info-cyrus
Subject: Re: backup/restores
From: Robin Rainton <robin () rainton ! com>
Date: 2005-06-30 7:07:39
Message-ID: 20050630170739.ngtbcutooc00oc8c () secure ! r2b2 ! net
[Download RAW message or body]
Hang on though... don't you also have to stop sendmail, or cyrus-master
to avoid
mail delivery? That's what I do while backing up.
Quoting Matt Goebel <mgoebel@workforcesoftware.com>:
> I backup Cyrus with the following method:
>
> 1. Stop MySQL (used for login/alias etc)
> 2. Create a filesystem snapshot of the volume mail is stored on in LVM2 3.
> Restart MySQL (down for all of 5 seconds)
> 4. Backup /var/spool/imap/* /var/lib/imap/* (and a few other things) from
> the snapshot.
> 5. Release the snapshot.
>
> That way I have a consistent state and the DB files are all in sync. If I
> need to do a full restore I just put the files back. In the case I needed
> to restore one email I put that back and do a reconstruct on the mail
> folder. Works pretty well. /var/lib/imap isn't very big so it's not a
> big deal to just back it all up. That way you've got sieve filters, seen
> state, etc... in one place.
---
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic