Live or Online back-up is available in Mailtraq Professional from the Options menu, and allows you to back-up Mailtraq whilst it is online or live - without having to shut it down. Online back-up is available from the Options menu in Mailtraq Professional installations running with the Firebird or AFX databases.
Other backup options are discussed in
this knowledgebase article.
Backup
The online backup system copies all messages in the database to a secondary location. In the event of a catastrophic failure the entire message database can be recovered. Mailtraq will backup:
• Message Database
• Configuration
• DIS (Address Books)
• Calendars
Automatic Backup Schedule allows an appropriate schedule to be configured.
Backup is inactive by default: you must set your own schedule.
Backup should normally scheduled to be at a known 'quiet-time' on your system.
Mailboxes may not be available during the backup processes:
incoming messages are processed normally.
Items are stored by default in a compressed state (to save space) and you must use the Restore-process below to recover items from backup. See note on Quick Restore Format below.
The Destination Path allows you to choose your own location for the Backup files.
The default location is in C:\Program Files\Mailtraq\Database
Ensure that you do not do not leave your backups in those directories
Backups left within the Mailtraq folders will be removed by the 'Purge Deleted Objects' tool.
See 'Configuration Tips' below on selecting a suitable location for your backup.
Perform Backup Now allows you to backup on demand.
Size vs. Speed
Mailtraq optimizes backups for size by default. This keeps your backups to the minimum size, but means that Restoring may take a significant amount of time as the 'compressed' files are re-indexed. You may prioritize restore speed by selecting the Quick Restore Format checkbox

Quick Restore Format
Recent versions of Mailtraq include the option - Quick Restore Format which is in an uncompressed format. This enables you to restore AFX mailboxes by simple file substitution. Mailtraq must be shut down during all file manipulations.
See below for method.
Restore
The Restore process will shut Mailtraq down whilst it is in progress. If you are restoring a large database this may take a considerable time. |
The Restore tab allows you to select which Back-up you want to restore from - either local, or from the directory stucture, and which components you want to restore: 
- Message Database,
- Configuration,
- DIS (Address Books)
- and/or Calendars.
The backup files that Mailtraq creates are in a compressed format. That means that you cannot swap files created using the online backup tool into the place of standard mailbox username.afx files - you must use this Restore facility.
If you wish to create swappable (uncompressed) backup files, either for day-to-day use or when moving or updating Mailtraq you should use the Alternate method described in this knowledgebase article.
If you are Restoring using the option [x] Restore from directory below (rather than from a Known Backup), set the File name to *.* in the Windows file selector to allow Mailtraq to select the appropriate file.
Note: The Restore function & dialog were updated from version 2396 to simplify operation and automatically select the correct files. See www.mailtraq.com/upgrading to access this feature.

Restore Single Mailbox
It is possible to restore the contents of a single Mailbox from backup without having to restore all mailboxes.
Note:
This Restore process will shut Mailtraq down whilst it is in progress. If the mailbox you are restoring is large this may take some time. |
Restore from Quick Restore Format
This enables you to restore AFX? mailboxes by simple file substitution.
The default location for a Users mailbox is in the folder: C:\Program Files\Mailtraq\database\mail\inbox
For example - username.afx
To perform a Quick Restore
Shutdown Mailtraq
Rename the 'corrupt' mailbox file to username.old
Place a copy of the backup username.afx file in place
Restart Mailtraq
This Knowledgebase Article explains how to repair a corrupted AFX file. Read how ...
Configuration Tips
Restoring
- It is recommended that the Mailtraq machine is rebooted before running the Restore process.
- Once the Restore process has begun it must not be interrupted.
- Allow enough space for your backups, particularly if you are holding messages on the server (IMAP/Webmail). One week rotating backup - Mailtraq's default - will require at least seven times the size of the working database.
Selecting a suitable destination
The drive you select for the destination of the Backup should be formatted as NTFS, not FAT32 which can only store files up to 4gb. Microsoft publish this KB article on converting to NTFS.
If you use a FAT32 format hard-drive, and the backup files exceed the maximum file size then the backup will fail and you will see a log entry similar to:
EXCEPTION (NexusDB: <unnamed> TnxTable instance>: Table is full. [$2507/9479]) @ Backup Service
Care should be taken to use "Safely remove hardware" before unplugging any USB mass-storage devices used in this context.
Backing up to 'remote' drives
Mailtraq's default backup location is to the Database folder. Mailtraq AFX (like Firebird) uses a block based file access model which is a lower level than the network layer for high performance so they can't work directly over a network.
If you wish to backup to a drive across your network you need to set Mailtraq to backup to 'local' space and then get your organization's back-up software to 'collect' the backup from there, or use a simple scheduled xcopy then delete batch-file to move the backups to a different location.