How to back up and restore the Brightmail database of a Symantec Mail Security 8200 Series or 8300 Series appliance using an FTP server

Article:TECH85128  |  Created: 2006-01-15  |  Updated: 2010-08-23  |  Article URL http://www.symantec.com/docs/TECH85128
Article Type
Technical Solution

Product(s)

Issue




You want to know how to back up and restore the current configuration, quarantine, logs, and reports for a Symantec Mail Security 8200 Series or 8300 Series appliance.

 


Solution



The sections which follow provide steps on how to back up and restore the brightmail database. Stopping all services on the Appliance except stunnel and MySQL service speeds up this procedure.

To back up the Brightmail database to an ftp server

  1. Log in to the appliance using an SSH and the admin account.
    An alternate means of connection is by a local USB keyboard and monitor.
     
  2. At the command prompt, type the following:
    db-backup -f ftp://<username>:<password>@<IP_or_FQDN>/<path>/<filename> brightmail
    NOTE: If a specific file name is not entered then you should add a trailing / at the end:
    db-backup -f ftp://<username>:<password>@<IP_or_FQDN>/<path>/

    ... where <username> is the actual username of the ftp account, <password> is the actual password, and <IP_or_FQDN> is the actual IP or Fully Qualified Domain Name for the ftp server.


 


Note: If an error occurs immediately, troubleshoot as appropriate. Otherwise, the db-backup script displays a blinking cursor on a blank line during execution.




When you receive a command prompt, your backup is complete. Immediately log into the ftp server and check for the backup file. The file ends in a .tar.bz2 extension.


To restore the brightmail database from an ftp server


Note: Always ensure that the software version of the appliance you are restoring the database to is the same as version you created the backup from.


  1. Log in to the appliance using an SSH client and the admin account.
    An alternate means of connection is by a local USB keyboard and monitor.
     
  2. At the command prompt, type the following:
    db-restore -f ftp://<username>:<password>@<IP_or_FQDN>/<path>/<filename> brightmail

    Where <username> is the actual username of the ftp account, <password> is the actual password, and <IP_or_FQDN> is the actual IP or Fully Qualified Domain Name for the ftp server. When restoring from ftp, the <path> and <filename> must match the exact path and filename of the backup file, as it would appear if you typed it into an internet browser to download it.
     
  3. After a restore has completed successfully, go to Administration > Hosts > Configuration if you wish also to restore your Scanner settings. To do this, select a host, click Disable, and then click Enable.





Technical Information
If the -g parameter of the db-backup command is specified, the file created on the ftp server ends in a .tar.gz extension.


 



Legacy ID



2006111508464863


Article URL http://www.symantec.com/docs/TECH85128


Terms of use for this information are found in Legal Notices