Re: Mailbox Backup

2001-12-05 Thread Matt Kenigson
Mika, I'm with the folks I'm helping out right now. All I had to do was restore the mailboxes from backup, replace the mailboxes.db with the old one (from backup), run ctl_mboxlist -r on it and then do the reconstruct -r for the mailbox I was trying to restore. It worked like a charm!!! Tha

Re: Mailbox Backup

2001-12-05 Thread Matt Kenigson
hanks, Matt Kenigson - Original Message - From: "Mika Iisakkila" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 7:39 AM Subject: Re: Mailbox Backup > Tarjei Huse wrote: > > PS: Some people noted that in addition to backing up t

Re: Mailbox Backup

2001-12-04 Thread Mika Iisakkila
On Tue, 4 Dec 2001, Tarjei Huse wrote: > thanks, does this info also apply if you shut down cyrus prior to backup? Nope -- if you can shut down cyrus, backing up by normal means is OK. But when cyrus is running, the mailbox/delivery database state on the disk is a "moving target", and you can't g

Re: Mailbox Backup

2001-12-04 Thread Tarjei Huse
Hi, > The remaining mailbox data and their contents can be then salvaged from > the mail store with 'reconstruct -r user.*' after pulling them from > regular backups. Fixing quotas (quota -f) might also be necessary. > > Cyrus uses the DB3 libraries in a transactional manner, so a backup > taken

Re: Mailbox Backup

2001-12-04 Thread Mika Iisakkila
Tarjei Huse wrote: > PS: Some people noted that in addition to backing up the /var/imap > and /var/spool/imap folders, you need to export some of the .db files to > txt. Does anyone want to fill me out on this?? To export mailboxes.db to a text file: ctl_mboxlist -d > tempfile To res

Re: Mailbox Backup

2001-12-04 Thread Tarjei Huse
You got some options: backup over the imap protocol. Never done this, anyone got an example of how? other libe backupmethods Never done this either. ame as above. Shutdown server make tarball startserver. check cyrus-utils.sf.net/faq there's a script there that can be used. PS: Some people not