Backup and Restore the Messaging Gateway
search cancel

Backup and Restore the Messaging Gateway

book

Article ID: 180646

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

This document outlines the process for backing up and restoring the configuration of Symantec Messaging Gateway (SMG).

Resolution

Backup

Command Line

Store backup locally on the system

To store the backup on the Control Center system:

    • db-backup
      NOTE: Backup will be available to download in the Control Center Administration > Version > Restore/Download


Store on a remote server

SCP
    • db-backup -f scp://'user'@hostname/path_to_store_file/
      • user is replaced by the username on the SCP server
      • You will be prompted for the scp server password
      • hostname is replaced by the IP of the SCP server, and path_to_store_file is replaced by a path pre-existing on the SCP server.
      • The path should always end with a '/' character as shown above

FTP
    • db-backup -f ftp://'user':password@hostname/path_to_store_file/
      • user is replaced by the username on the FTP server
      • password is replaced by the FTP server password
      • hostname is replaced by the IP of the FTP server, and path_to_store_file is replaced by a path pre-existing on the FTP server.
      • The path should always end with a "/" (without the quotes).
      • db-backup --help will give you the options for the db-backup command


Control Center Web Interface

Open the Control Center and go to Administration > Version

Store backup locally on the system

    1. Click the Backup Now button.
    2. Select your backup type:
      • Full Backup
      • Custom backup
      • Policies only
      • Configuration (includes policies)
        • Include content incident messages
        • Include report data
        • Include log data
    3. Select Store backup on server.
    4. Click Backup now.


Store on a remote server

    1. Click the Backup Now button.
    2. Select your backup type:
      • Full Backup
      • Custom backup
      • Policies only
      • Configuration (includes policies)
        • Include content incident messages
        • Include report data
        • Include log data
    3. Select Store backup on remote location using FTP or SCP.
    4. Set the IP address and port of FTP or SCP server.
    5. Set the path
      NOTE: you must have something in this box. If you want to specify the root of the FTP server then put "/" without the quotes in this box. Any backup path must end with a "/" without the quotes
    6. Add a username and password for the FTP / SCP server
    7. Click Backup now.

Restore:

(NOTE: Backups can only be restored on the same version and build they were created on)

Command Line:

To restore a locally stored backup

  1. Run db-restore --list
  2. Run db-restore [file_name]
    • Example: db-restore db-backup.10.7.3-5.brightmail.May-22-20-08-42.full.manual.tar.bz2


To restore a backup using SCP

  • db-restore scp://user@hostname/path_to_file/filename
    • user is replaced with the scp server username
    • hostname is replaced with the server IP
    • path_to_file is the path where the backup is stored and filename is the file name of the backup file


Control Center Web Interface:

Open the Control Center web interface and go to Administration > Version > Restore/Download


To Restore/Download backup from server

  1. Select Restore/Download backup from server
  2. Select the locally stored backup file from the list
  3. Click Restore.


To Restore backup from a remote location

  1. Select Restore backup from a remote location
  2. Enter the FTP or SCP server information.
    (NOTE: File name requires the path and file name of the backup file to be restored.
    Example: /backups/db-backup.10.9.0-3.brightmail.Aug-11-25-09-13.full.manual.tar.bz2
  3. Click Restore.
    (NOTE: Files uploaded through the control center web interface can be a maximum size of 2GB. Larger files must be restored using the command line interface)


To Upload a backup file from your local computer

    1. Select Upload a backup file from your local computer
    2. Browse the local computer for the backup file.
    3. Click Restore.
      (NOTE: Files uploaded through the control center web interface can be a maximum size of 2GB. Larger files must be restored using the command line interface)

Additional Information