Backup of Cyrus

Simon Matter simon.matter at ch.sauter-bc.com
Fri Dec 12 11:50:25 EST 2003


> I've been doing some reading of the list archives, and have learned that
> my
> current backup process is not sufficient. I'm hoping to get some feedback
> on
> my new proposed process. I only have about 20 users, total mail store is
> under 300 MB. I can stop the services. I want to be able to recover from
> total disaster, and from user errors. For now, I will do a full backup
> nightly
>
> I'm using RH9 and Simon Matter's RPMs. Here are the beginnings of a script
> that I hope to use:

My rpms already do mailbox backups daily and rotate them through a week.
Have a look at /var/lib/imap/backup/ where you find mboxlist.gz,
mboxlist.1.gz...

Simon

>
> #######################################
> postfix stop				# Stop MTA
> etc/rc.d/init.d/cyrus-imapd stop		# Stop Cyrus
> su cyrus -c "ctl_mboxlist -d" > mailboxes-`date '+%m%d%y'` # List
> mailboxes;
> file makes restore easier???
>
> #Backup the following directories (I  haven't decided on which tool yet):
> #/var/spool/imap
> #/var/lib/imap
>
> etc/rc.d/init.d/cyrus-imapd start		# Start Cyrus
> postfix start				#Start MTA
> ########################################
>
> Will this be sufficient? Thanks,
>
> Doug
>
>
>
>
>
> Confidential: This electronic message and all contents contain information
> from
> Financial Credit Services which may be privileged, confidential or
> otherwise protected
> from disclosure. The information is intended to be for the addressee only.
> If you are
> not the addressee, any disclosure, copy, distribution or use of the
> contents of this
> message is prohibited. If you have received this electronic message in
> error, please
> notify the sender and destroy the original message and all copies.
>
>






More information about the Info-cyrus mailing list