Backup Server


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 free one that springs to mind is Amanda.


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.

MailArchiva v3.0 Backup


Note: Do not place backup copies of folders and files in the MailArchiva application data and webapps directories. Doing so, will render the system unusable and may result in corrupted data!


Server Configuration Data


To backup MailArchiva's configuration, simply copy the contents of the directories below to a safe location.


Path To Backup Configuration
[configuration path] Configuration Files
[logging path] Logging Configuration
[application data] Application Data


To restore the configuration data, copy the files back to their original locations and restart the server.


Volume Data


To backup your volume store and volume index data, copy the entire contents of the volume store and index directories listed in Configuration->Volumes.

MailArchiva v3 volumes consist of 4096 .zz files and a volumestore file. Backing up the index data is optional as it can be regenerated using the Volume Reindex function.


To restore the volume data, click on Import Volume in Configuration->Volume. Enter the store and index path of the old volumes.

Note: If the status of a volume is incorrect, edit the file volumeinfo in the root of the store path using a text editor, and change status to CLOSED


MailArchiva v2.0 Backup


Server Configuration Data


Path To Backup Configuration
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\conf\* (Windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/conf/* (Linux)
Configuration Files
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\classes\log4j.xml (Windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/classes/log4j.xml (Linux)
Logging Configuration
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\classes\license.lic (Windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/classes/license.lic (Linux)
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\logs\* (Windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/logs/index* (Linux)


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:



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 consueverything inside (including all subdirectories + volumeinfo file + manifest directory)


c:\index - everything inside

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.

© 2005 - 2024 ProProfs

Found this information useful? Visit to learn more about MailArchiva.