1

Topic: Full Backup

Hi.

I have iRedMail 0.6.1 on uBuntu, and iRedAdmin 0.1.3 LDAP Backend.
I like to do a full backup for disaster recovery.
Full means: Accounts, user menssages, configs... everyting to make a full recovery in case my server crash.

Anyone have some solution?

Tks
Anderson

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Full Backup

Here's some shell scripts:

* Backup MySQL database. http://iredmail.googlecode.com/hg/tags/ … p_MySQL.sh You can use it with crontab for a peroidly database backup.
* Backup iRedMail config files. http://iredmail.googlecode.com/hg/tags/ … RedMail.sh It will copy config files of mail server related components. But, i think we don't need to backup config files since you can setup a new mail server with iRedMail in several minutes.
* Use 'ldapsearch' or 'slapcat' to dump whole LDAP data.
* You can use "rsync" to backup other stuffs.

3

Re: Full Backup

How to take backup of all user's mailboxes. In case my server crash then i need to restore that backup on a new server.

4

Re: Full Backup

Take a look at rdiff-backup - http://rdiff-backup.nongnu.org/

I use it to take full backups every night, its very efficient and can copy the whole server if you wish.