restore-config

Syntax

tadm restore-config common_options --from-backup=backup_id config_name

Description

Use this command to restore a configuration to a specific earlier state by using a backup.

Options

For information about common_options, run the help command.

--from-backup|-b

Specify the ID of the backup configuration. You can view a list of the available backups by running the list-configs command.

Operand

config-name

Specify the configuration that you want to restore to an earlier state.

Example

tadm restore-config --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--no-prompt --from-backup=20110813_084722 www.example.org 

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.