1. Knowledge Base
  2. SecurityGateway™ for Email Servers

How to backup the SecurityGateway server configuration, messages, transcripts, and/or archive stores.

There are multiple ways backup SecurityGateway. The steps below details how backup using the SecurityGateway web interface, using SecurityGateway's SGDBTool application, and how to manually backup important SecurityGateway directories.

Follow the steps below to backup SecurityGateway's database or configuration in the web interface:

  1. Login to SecurityGateway as the global administrator account.
  2. Select Setup/Users
  3. Select Database
  4. Select Backup
  5. Choose the option to backup.
    • Select Click here to backup/export configuration data now to create a backup of the SecurityGateway configuration.
    • Select Click here to backup entire database now to backup the entire database.
    • Select Click here to backup archive stores now to backup the Archive Stores.

This will create an FBK file for the configuration/database backup in the \SecurityGateway\Backup\ folder and Archive Stores backup are stored in the \SecurityGateway\Backup\ArchiveStores\ directory.

Alternatively, the SGDBTool application included with SecurityGateway can backup the configuration/database.  This command line tool can be useful to perform tasks while the SecurityGateway service is stopped.

To backup the SecurityGateway configuration/database using the SGDBTool application, follow the steps below.

  1. Stop the SecurityGateway service.
  2. Open a Command Prompt window.
  3. Navigate to the \SecurityGateway\App directory.
  4. Choose the option to either backup the full database or server configuration.
    • Enter sgdbtool backup sgbackup.fbk to backup the full database configuration.
      • sgbackup.fbk can be changed to any desired filename.
    • Enter sgdbtool export sgexport.fbk to backup the server configuration.
      • sgexport.fbk can be changed to any desired filename.
  5. Press Enter

The backup/export fbk file will be written to the \SecurityGateway\App\ directory.


This process does not backup the message data, message transcripts, and other valuable data that administrators may wish to backup. 

This data can be manually backed up by following the steps below.

  1. Select Setup / Users
  2. Select System
  3. Select Directories
  4. Copy the desired directories to a secure location.
    • Message Data
    • Message Logs \ SMTP Transcripts
    • Attachments
    • Logs
    • Sieve Executable Path

 

Additional Comments

For increased performance, It is recommended to complete a backup and restore at annual intervals to cleanup transactional data.