backup

Back up the Management Center configuration, and view, export, and restore existing backups.

Syntax

(config)# backup [subcommands]
While you may also run this command from the enable prompt, Symantec recommends running this command at the
(config)
prompt.

Subcommands

(config)# backup create [description] [statistics-monitoring-trend-data]
(config)# backup create
Create a full system backup.
(config)# backup create description
Create a Management Center backup and provide a description of that backup.
(config)# backup create statistics-monitoring-trend-data[include|exclude]
Define whether to include Statistics data when creating backups. By default, this data is excluded.
(config)# backup delete <
index_number
>
Delete the specified configuration backup.
Use the
backup view
command to determine the index number to use.
(config)# backup export <
index_number
> <
URL
> [passphrase ] [password ] [username ]
Export the specified backup to a destination FTP/FTPS, HTTP/HTTPS, or SCP/SFTP server. When exporting configuration backups, the CLI requires that you enter a passphrase to encrypt the backup file before sending it to the specified server. Password and Username entries are optional, and dependant on the destination server's requirements.
Use the
backup view
command to determine the index number to use. <
URL
> is the URL of the destination server and path. Supported protocols are FTP, FTPS, HTTP, HTTPS, and SCP. Verify the filename on the server, and include that in the path as in the following example: ftp://192.0.200.68/bcmc_backup_20180402_191517.tgz.gpg.
(config)# backup import <
URL
> [passphrase ] [password ] [username ]
Import a backup from a specified server. To import the backup, you must enter the passphrase that was used to encrypt the backup during the initial backup export.
<
URL
> is the URL of the external server and path. Supported protocols are FTP, FTPS, HTTP, HTTPS, and SCP.
(config)# backup restore <
index_number
>
Restore a Management Center backup, specified by the index number. This command is only available when the backup command is entered from a
(config)
prompt.
Use the
backup view
command to determine the index number to use.
(config)#
backup view
View existing configuration backups.

Transfer Configuration and Data to Another Appliance

To transfer configuration and data from one Management Center appliance to another:
  1. On the first Management Center: use the
    backup create
    command to back up the configuration.
  2. Use the
    backup export
    command to upload the backup to a Web, FTP, SCP, or SFTP server.
  3. Log in to the second Management Center appliance, and use the
    backup import
    command to download the backup from the server specified in step 2.
  4. Restore the backup using the
    backup restore
    command.
Configuration backups are not human-readable, and can only be restored to Management Center appliances running the same version as the original appliance was running at the time the backup was recorded.

Example

(config)# backup create description "before upgrade to 2.0" statistics-monitoring-trend-data exclude ok
(config)# backup view
1. Version : 2.1.0.0 (196304-Debug), Creation Time : 2017-01-09 21:05:27 UTC, Statistic Monitoring Trend Data : false, Size : 4.6 MB, Description : none
2. Version : 2.0.0.0 (214174-Debug), Creation Time : 2018-02-23 19:03:00 UTC, Statistic Monitoring Trend Data : false, Size : 2.7 MB, Description : before upgrade to 2.0
(config)#backup export 2 ftp://192.0.200.55/appliance_backups/ passphrase "this is a test passphrase"
Securing backup archive ... Exporting backup archive ... ok
(config)# backup import ftp://192.0.200.55/appliance_backups/bcmc_backup_20180402_200649.tgz.gpg
Value for 'passphrase' (<string>): ***************** Importing backup archive bcmc_backup_20180402_200649.tgz.gpg ... Downloading backup archive ... Verifying backup archive ... Securing backup archive ... Backup archive successfully imported. ok