Backup Guide
This guide is designed to help you define your backup procedure. Your backup process should backup the system configuration, volume store data and, if desired, the index data. For this purpose, we recommend using a backup product that can perform incremental and differential backups. There are many good ones on the market, however, one that springs to mind is Amanda. See:
http://www.amanda.org/.
Note: You should not need to stop the archiving server in order to perform a backup of the store information. The store data can be backed up during live system operation.
Volume Backup
Assuming you have a volume with a store path of c:\store and an index path of c:\index, the following must be backed up:
c:\store - everything inside (including all subdirectories + volumeinfo file + manifest directory) c:\index - everything inside
At minimum, the store directory should be backed up on a nightly basis. Although the index can be regenerated using the
MailArchiva reindexing operation, it is advisable to back it up since the reindex process can be time consuming.
Volume Restore
To restore a volume, click the "New Volume" button in the volumes section of the
MailArchiva configuration screen. Enter the index and store path of the existing volume and click "Save". Assuming there is a volumeinfo file present in the root of the store directory,
MailArchiva should pickup the volume automatically and the status of the volume should change. If the status of the volume is incorrect, simply edit the volumeinfo file and change the status of the volume manually.
Server Configuration
The following configuration files should be backed up on a regular basis
Server configuration
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\conf\server.conf
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/conf/server.conf (windows)
Basic Authentication Users
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/conf/users.conf
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\conf\users.conf (windows)
Kerberos
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/conf/krb5.conf
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\conf\krb5.conf (windows)
Certificate Store (EE only)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/conf/mailarchivacerts.conf
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\conf\mailarchivacerts.conf (windows)
Logging Configuration
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/classes/log4j.xml
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\classes\log4j.xml (windows)
License File (EE only)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/classes/license.lic
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\classes\license.lic (windows)
Audit & Log Files
/usr/local/mailarchiva/server/logs/*
C:\Program Files\MailArchiva\server\logs\* (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/logs/*
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\logs\* (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/logs/index*
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\logs\index\* (windows)
--
JamieBand - 06 May 2009