Re: Backup advice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@mail ~]# grep mbox /usr/local/etc/cyrus.conf
   mboxlist      cmd="ctl_mboxlist.sh" period=60
[root@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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux