Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Restoring the Database from a Backup from the CLI

 

Use this procedure to restore the database from a previously backed-up configuration file from the CLI.

This procedure is primarily used when restoring a database on a chassis that is not in service.

Note

This procedure removes the existing configuration and is service affecting.

Note

If you are restoring the database from a previously backed-up configuration file, the backed-up configuration must be compatible with the software and chassis:

  • A configuration database is specific to a software version. In order to restore a backed-up database onto a replacement CMM, you must ensure that the replacement CMM is running the same software version as the software version running when the backup was created.

  • In releases lower than 4.2, a configuration database is also specific to a chassis. You can only restore a backed-up database to a replacement CMM on a chassis if the database was backed up from that chassis. You cannot restore a database to a CMM on a chassis if the database was backed up from another chassis.

    Starting with release 4.2, this restriction is relaxed. You can restore a backed-up database to any chassis of the same chassis type (BTI7801 to BTI7801, BTI7802 to BTI7802, BTI7814 to BTI7814).

  1. Back up the existing configuration. This is optional.
    1. Save the configuration database to a remote location.

      See Backing Up the Configuration Database.

    2. Save the running configuration to a remote location.

      For example:

      bti7800# show running-config | nomore | save 10.1.220.104_running_config_20150706
  2. Restore the database.
    1. To restore the CMM from a backed-up configuration file stored at a remote location:

      For example:

      bti7800# system database restore remote sftp://user@10.1.1.1/10.75.0.5_BTI7800v2.1.0_23151_20160309_205021.tar.gz
    2. To restore the CMM from a backed-up configuration file stored in local chassis storage:

      Note

      This option is available only for the BTI7801.

      bti7800# system database restore local

      This command might take 15 minutes or more to complete.

The CLI session closes and the CMM and all modules cold reload into the specified configuration. This might take several minutes. All existing service module configuration is replaced and traffic is affected. The CMM remains commissioned.

To log back in to the CLI, use the shared management IP address configured in the backup.

Release History Table
Release
Description
Starting with release 4.2, this restriction is relaxed. You can restore a backed-up database to any chassis of the same chassis type (BTI7801 to BTI7801, BTI7802 to BTI7802, BTI7814 to BTI7814).