system configuration recovery node restore
Restore node configuration from a backup
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The system configuration recovery node restore
command restores the configuration of the local node from a configuration backup file.
Use the system configuration backup show command to view available configuration backup files.
Parameters
-backup <text>
- Backup Name (privilege: advanced)-
Use this parameter to specify the name of a configuration backup file to use as the configuration template.
[-nodename-in-backup <text>]
- Use Backup Identified by this Nodename (privilege: advanced)-
Use this parameter to specify a node within the configuration backup file to use as a configuration template. Only specify this parameter if you are specifying a name other than the name of the local node.
[-force <true>]
- Force Restore Operation (privilege: advanced)-
Use this parameter with the value
true
to force the restore operation and overwrite the current configuration of the local node. This overrides all compatibility checks between the node and the configuration backup. The configuration in the backup is installed even if it is not compatible with the node's software and hardware.Use this parameter with the value
false
to be warned of the specific dangers of restoring and be prompted for confirmation before executing the command. This value also assures that the command performs compatibility checks between configuration stored in the backup and the software and hardware of the node. The default isfalse
.
Examples
The following example shows how to restore the configuration of the local node from the configuration backup of node3
that is stored in the configuration backup file example.backup.7z
.
cluster1::*> system configuration recovery node restore -backup example.backup.7z Warning: This command overwrites local configuration files with files contained in the specified backup file. Use this command only to recover from a disaster that resulted in the loss of the local configuration files. The node will reboot after restoring the local configuration. Do you want to continue? {y|n}: y