restore

To perform a restore of a previous backup, use the restore command in the EXEC mode. A restore operation restores data related to the Cisco CDA as well as the Cisco ADE OS. To perform a restore of a previous backup of the application data of the Cisco CDA only, add the application command to the restore command in the EXEC mode. To remove this function, use the no form of this command.

Use the following command to restore data related to the Cisco CDA application and Cisco ADE OS:

restore filename repository repository-name

Use the following command to restore data related only to the Cisco CDA application:

restore filename repository repository-name application application-name

Syntax Description

restore

The command to restore the system.

filename

Name of the backed-up file that resides in the repository. Supports up to 120 alphanumeric characters.

Note You must add the .tar.gpg extension after the filename (for example, myfile.tar.gpg).

repository

The repository command.

repository-name

Name of the repository you want to restore from backup.

application

The application command.

application name

The name of the application data to be restored. Supports up to 255 alphanumeric characters.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

When you use restore commands in Cisco CDA, the Cisco CDA server restarts automatically.

The encryption key is optional while restoring data. To support restoring earlier backups where you have not provided encryption keys, you can use the restore command without the encryption key.

Examples

/admin# restore mybackup-100818-1502.tar.gpg repository myrepository application cda

Restore may require a restart of application services. Continue? (yes/no) [yes] ? yes

Initiating restore. Please wait...

CDA application restore is in progress.

This process could take several minutes. Please wait...

Stopping CDA Watchdog...

Stopping CDA Application Server...

Stopping AD Context Manager...

Stopping AD Context Observer...

Stopping CDA Logger...

Starting CDA Watchdog...

Starting CDA Application Server...

Starting AD Context Manager...

Starting AD Context Observer...

Starting CDA Logger...

Note: CDA Processes are initializing. Use 'show application status cda'

CLI to verify all processes are in running state.

/admin#

 

Related Commands

Command

Description

backup

Performs a backup (Cisco CDA and Cisco ADE OS) and places the backup in a repository.

backup-logs

Backs up system logs.

repository

Enters the repository submode for configuration of backups.

show repository

Displays the available backup files located on a specific repository.

show backup history

Displays the backup history of the system.