Backup advice

Dmitriy Kirhlarov dimma at higis.ru
Fri Oct 26 03:20:54 EDT 2007


Nikos Gatsis wrote:
> I had to be more specific.
> I need advices for backing up cyrus emails...

My solution is:
1. Some tuning for Berkley DB confg:
[root at mail ~]# cat /var/imap/db/DB_CONFIG
set_lg_max 104857600
set_lg_bsize 204800
set_lg_regionmax 409600
set_cachesize 0 5120000 2

2. regular dump of mbox list:
[root at mail ~]# grep mbox /usr/local/etc/cyrus.conf
   mboxlist      cmd="ctl_mboxlist.sh" period=60
[root at mail ~]# cat /usr/local/cyrus/bin/ctl_mboxlist.sh
#!/bin/sh

/usr/local/cyrus/bin/ctl_mboxlist -d > /var/imap/mboxlist.dump

3.backing up /var/imap/mboxlist.dump to cvs with
ftp://segfault.kiev.ua/pub/cvsbackup.pl
ftp://segfault.kiev.ua/pub/cvsbackup.cf.sample

4. backing up mail spool with http://www.rsnapshot.org

5. Also, I using replication (sync_{client,server}) for


More information about the Info-cyrus mailing list