Use the commands in this section to back up the configuration database.
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Specify the configuration database for backup:
hostname (config) # backup profile configSpecify the location for the backup file.
To save the configuration backup file to a local destination on the Central Management System appliance:
hostname (config) # backup profile config to localTo save the backup file on a remote server:
hostname (config) # backup profile config to <url>where
<url>specifies remote server admin credentials (<username>and<password>), the remote server (<hostname>), and the directory in which to save the backup file (<directory>) in the following format:scp://<username>[:<password>]@<hostname>/<directory>
Note
If you do not specify the remote host administrator password in the
backup profilecommand (where the password would be visible as clear text), the CLI prompts for the password and obfuscates the keyboard input as you type it.A remote backup first creates a local backup and then transfers it to the remote server.
To save the backup file to a USB drive on your local machine:
hostname (config) # backup profile config to usb
Specify a custom prefix for the backup file name:
hostname (config) # backup profile config to <backupLocation> prefix <prefix>(Optional) Monitor the progress of the backup operation.
To disable progress tracking for the backup operation:
hostname (config) # backup profile config to <backupLocation> progress no-trackTo enable progress tracking for the backup operation:
hostname (config) # backup profile config to <backupLocation> progress track
By default, progress tracking is enabled.
(Optional) Disable public and private key encryption for the backup operation.
hostname (config) # backup profile config to <backupLocation> no-encryption
The following example backs up the configuration database to a local destination on the Central Management System appliance without encryption:
hostname (config) # backup profile config to local no-encryptionNote
Encryption is enabled by default. Encryption delays the backup operation. Backups are encrypted only using static keys.
Note
To cancel a backup that is in progress, enter the backup cancel command. When you cancel the backup operation that is in progress, the system finishes the current step before canceling the entire operation.
Examples
Note
The following examples are from a Intelligent Virtual Execution - Server appliance, but they are representative of CMS appliances as well.
The following example backs up the configuration database to a local destination on the Central Management System appliance:
hostname (config) # backup profile config to local
Step 1 of 3: Performing Sanity checks
100.0% [#################################################################]
Step 2 of 3: Backing up config db
100.0% [#################################################################]
Step 3 of 3: Generating Backup package
100.0% [#################################################################]The following example backs up the configuration database to a remote location:
hostname (config) # backup profile config to scp://admin123@bkpFeb/IE-CM4400 Password (if required): ******** Step 1 of 4: Performing Sanity checks 100.0% [#################################################################] Step 2 of 4: Backing up config db 100.0% [#################################################################] Step 3 of 4: Generating Backup package 100.0% [#################################################################] Step 4 of 4: Transferring backup to remote loc 100.0% [#################################################################]