Configuration backups enable you to restore Cisco APIC to a known-good configuration state and protect secure properties in exported configuration files.
Use configuration backup and recovery to:
-
Restore Cisco APIC to a known-good configuration state by importing a previously exported configuration.
-
Encrypt secure properties in exported Cisco APIC configuration files.
Cisco APIC supports scheduled and on-demand backups of the user configuration. Periodic backups provide known-good configuration files that you can use to recover from configuration errors.
Atomic replace
To restore a known-good configuration, use the Atomic Replace option. The configuration import policy (configImportP) supports atomic-replace operations with the following property values:
-
importMode=atomic -
importType=replace
With these values, Cisco APIC replaces the existing configuration with the configuration in the imported file.
An atomic-replace operation deletes any existing configuration that is not present in the imported configuration file. Before performing the operation, verify that the imported file contains the complete configuration that you want to restore.
You can restore a configuration by using the Cisco APIC GUI, CLI, or REST API.
Backup recommendations
Create periodic configuration backups and exports. You can also perform an on-demand export after verifying that the current configuration is in a known-good state.
Related information
For more information about recovering Cisco APIC configuration states, see the Cisco Application Centric Infrastructure Fundamentals Guide.