Operating
5.4.0
Search this version
Operating
Operating
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
History database backup
Copy Markdown
Open in ChatGPT
Open in Claude
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
| Property | Value | Default |
|---|---|---|
| Backup folder | <installation directory>\data\backup | C:\Program Files\OPSWAT\MetaDefender Email Security\data\backup |
| Backup file name | mdemailsecurity.db.sqlite.bak | mdemailsecurity.db.sqlite.bak |
Example
A full path to a default email history database file is: C:\Program Files\OPSWAT\MetaDefender Email Security\data\backup\mdemailsecurity.db.sqlite.bak
Backup retention
Only the last successful backup file is kept in the backup folder.
Restore
To restore the email history database backup, perform the following steps:
- Stop the MetaDefender Email Gateway Security Database Server service
net stop mdemailsecurity-database- Overwrite the current email history database file with the email history database backup file
copy /y <path to backup file> <installation directory>\data\mdemailsecurity.db.sqlite1. Example with default values:
copy /y "C:\Program Files\OPSWAT\MetaDefender Email Security\data\backup\mdemailsecurity.db.sqlite.bak" "C:\Program Files\OPSWAT\MetaDefender Email Security\data\mdemailsecurity.db.sqlite"- Start the MetaDefender Email Gateway Security Database Server service and the MetaDefender Email Gateway Security service
net start mdemailsecurity-databasenet start mdemailsecurityType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Quarantine reportsDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
