History database backup

Overview

To mitigate the risk of losing email history and quarantine data, Email Gateway Security automatically takes backup of the email history database.

Backup

The backup is taken in the beginning of the database optimization process that is executed at the time configured by the scheduled_db_optimization_time registry option.

For registry configuration details see Configuration/Registry configuration.

Backup folder and file

PropertyValueDefault
Backup folder<installation directory>\data\backupC:\Program Files\OPSWAT\MetaDefender Email Security\data\backup
Backup file namemdemailsecurity.db.sqlite.bakmdemailsecurity.db.sqlite.bak

A full path to a default email history database file is: C:\Program Files\OPSWAT\MetaDefender Email Security\data\backup\mdemailsecurity.db.sqlite.bak

Only the last successful backup file is kept in the backup folder.

Restore

To restore the email history database backup, perform the following steps:

  1. Stop the MetaDefender Email Gateway Security Database Server service
Copy
  1. Overwrite the current email history database file with the email history database backup file
Copy

1. Example with default values:

Copy
  1. Start the MetaDefender Email Gateway Security Database Server service and the MetaDefender Email Gateway Security service
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard