1

Topic: Easy Steps to take backup of mailbox and user where mysql as backend.

Hi All,
In case of a iredmail in ubuntu 9.04 server crash what files i have to take backup and how to restore the files quickly.I am not so knowledgeable in using scripts.So please help me by providing the steps properly.iI am in badly need of it.

Raskin

----

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

2

Re: Easy Steps to take backup of mailbox and user where mysql as backend.

Hi,

I dont use Ubuntu but the overall idea is same:
Based on which database you used and i am assuming MYSQL here, do the following:

- when you did the initial install and after its sucessfull completion there is a file called "iRedMail.tips" created and placed in the src directory of the iredmail.x.x.x untar'd directory. It gives you the details of where the :
configuration files are, the mail storage and its path, certifcates etc:

eg:
Mail Storage:
    - Path:
        + /usr/vmail
        + /usr/vmail/vmail01

Apache & PHP:
    * Configuration files:
        - /usr/local/etc/apache22
        - /usr/local/etc/apache22/Includes
        - /usr/local/etc/php.ini
    * Directories:
        - /usr/local/www
        - /usr/local/www/apache22/data
and others
This is just one of the thousands of backup scripts around to help you start backing up your databases
http://bash.cyberciti.biz/backup/backup-mysql-database-server-2/

and use this to finish up your restore to a seperate server.

There are some useful stuff in: iRedMail-0.6.0-rc1/dialog and its preceding directory.

Its amazing what happens when you look smile

rein