The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter includes the following sections:
The fundamental step to managing the backup and restore functionality with Cisco UCS Manager domains registered with Cisco UCS Central, is creating domain groups. A domain group is a user-defined group or classification of domains that are added to Cisco UCS Central. You can manually add domains to an existing domain group using the Cisco UCS Central GUI or automatically by configuring a rule.
When you perform a backup using Cisco UCS Central, you can backup and restore Cisco UCS Central itself or backup and restore Cisco UCS Manager. and you can export the file to a location on your network. Database backup and full configuration export policies can be created under domain groups similar to other policies and from a Cisco UCS Manager perspective, they can be configured remotely or locally based on the backup control setting. For global backup policies, Cisco UCS Manager domains that are part of a domain group inherit the policy creation, update, and deletion events. Deleting these policies remotely resets the admin state to disabled in Cisco UCS Manager since these are global policies that cannot be completely deleted. You can schedule a backup and restore operation or you can perform an immediate backup and restore operation.
Remotely configured policies are restricted to use the Cisco UCS Central repository for backups which is internally mounted by Cisco UCS Manager. Local configurations allow you to specify any external backup server. You can use SCP, SFTP, FTP, and TFTP protocols.
Saved configurations can be used to restore and configure any managed Cisco UCS domain. In recovery situations, full-state backups can be used. TFTP can be used to access the backup configurations and you can use the Cisco UCS Central GUI or the CLI to copy the URL of the back up file and use it to configure a new domain.
You can perform a backup while the domain is up and running. The backup operation saves information from the management plane. It does not have any impact on the server or network traffic.
Note |
You can delete backups only after a Cisco UCS Manager domain (from which the backup has been taken) has been unregistered. |
You can perform one or more of the following types of backups through Cisco UCS:
Before you create a backup operation, consider the following:
The backup location is the destination or folder on the network where you want Cisco UCS Central to export the backup file. You can maintain only one backup operation for each location where you plan to save a backup file.
If you rerun a backup operation without changing the filename, Cisco UCS Central overwrites the existing file on the server. To avoid overwriting existing backup files, change the filename in the backup operation or copy the existing file to another location.
You can run and export more than one type of backup to the same location. You need to change the backup type before you rerun the backup operation. We recommend that you change the filename for easier identification of the backup type and to avoid overwriting the existing backup file.
You can create a backup operation in advance and leave the admin state disabled until you are ready to run the backup. Cisco UCS Central does not run the backup operation, save, or export the configuration file until you set the admin state of the backup operation to enabled.
There are two types of policies: the scheduled all-config backup policy, and the scheduled db backup policy. These policies can either be defined locally or defined in Cisco UCS Central
You cannot perform incremental backups of Cisco UCS.
Full state backups are encrypted so that passwords and other sensitive information are not exported as clear text.
You can import any configuration file that was exported from Cisco UCS. The file does not need to have been exported from the same Cisco UCS.
The import function is available for all configuration, system configuration, and logical configuration files. You can perform an import while the system is up and running. An import operation modifies information on the management plane only. Some modifications caused by an import operation, such as a change to a vNIC assigned to a server, can cause a server reboot or other operations that disrupt traffic.
You cannot schedule an import operation. You can, however, create an import operation in advance and leave the admin state disabled until you are ready to run the import.Cisco UCS will not run the import operation on the configuration file until you set the admin state to enabled.
You can maintain only one import operation for each location where you saved a configuration backup file.
You can use one of the following methods to import and update a system configuration through Cisco UCS:
You can use the restore function for disaster recovery.
You can restore a system configuration from any full state backup file that was exported from Cisco UCS. The file does not need to have been exported from Cisco UCS on the system that you are restoring. When restoring using a backup file that was exported from a different system, we strongly recommend that you use a system with the same or similar system configuration and hardware, including fabric interconnects, servers, adapters, and I/O module or FEX connectivity. Mismatched hardware and/or system configuration can lead to the restored system not fully functioning. If there is a mismatch between the I/O module links or servers on the two systems, acknowledge the chassis and/or servers after the restore operation.
The restore function is only available for a full state backup file. You cannot import a full state backup file. You perform a restore through the initial system setup.
You must have a user account that includes the admin role to create and run backup and import operations.
Backup Operations
Use this task to perform an immediate backup operation for Cisco UCS Central itself.
Obtain the backup server IP address and authentication credentials.
Step 1 | On the menu bar, click Operations Management. |
Step 2 | In the Navigation pane, expand Backup and Import. |
Step 3 | Click the UCS Central System node. |
Step 4 | In the Backup table, click the backup operation that you want to run. |
Step 5 | ClickProperties. |
Step 6 |
Click Ok. Cisco UCS Central takes a snapshot of the configuration type that you selected and exports the file to the network location. To view the progress of the backup operation, click the Task tab in the Properties dialog box. |
Step 1 | On the menu bar, click Operations Management. | ||
Step 2 | In the Navigation pane, expand Backup and Import. | ||
Step 3 | Click the UCS Central System node. | ||
Step 4 | In the Backup table, click the backup operation that you want to delete. You cannot click a backup operation in the table if the admin state of the operation is set to Enabled. | ||
Step 5 |
In the Backup Operations table of the Backup Configuration dialog box, click the backup operations that you want to delete.
|
||
Step 6 | Click the Delete icon in the icon bar of the Backup Operations table. | ||
Step 7 | If Cisco UCS Central GUI displays a confirmation dialog box, click Yes. | ||
Step 8 | In the Backup Configuration dialog box, click Yes to delete the backup operation. |
You can specify the full-state backup policy that you want to associate with the Cisco UCS domains included in the Cisco UCS Central domain group.
Note |
All policies created under the root domain group apply to Cisco UCS Central itself. The scheduled backup policies created under the root group will cause Cisco UCS Central to perform self backups into it's internal backup repository as well. |
Step 1 | On the menu bar, click Operations Management. | ||||||||||||
Step 2 | In the Navigation pane, expand Domain Groups > Domain Group root. | ||||||||||||
Step 3 | Click the Backup/Export Policy node. | ||||||||||||
Step 4 | In the work pane, click Full-State Backup Policy. | ||||||||||||
Step 5 | Click +Create. | ||||||||||||
Step 6 |
In the Create dialog box, complete the following fields:
The backup files are saved in a storage location shared by Cisco UCS Central. The list of backup files that are viewable using the Cisco UCS Central GUI, shows the names used. |
||||||||||||
Step 7 | Click Save. |
Import Operations
You can specify the configuration backup policy that you want to associate with the Cisco UCS domains included in the Cisco UCS Central domain group.
Step 1 | On the menu bar, click Operations Management. | ||||||||||||
Step 2 | In the Navigation pane, expand Domain Groups > Domain Group root. | ||||||||||||
Step 3 | Click the Backup/Export Policy node. | ||||||||||||
Step 4 | In the work pane, click Config-All Export Policy. | ||||||||||||
Step 5 | Click +Create. | ||||||||||||
Step 6 |
In the Create dialog box, complete the following fields:
|
||||||||||||
Step 7 | Click Save. |
You cannot import a Full State configuration file. You can import any of the following configuration files:
Collect the following information that you will need to import a configuration file:
Step 1 | On the menu bar, click Operations Management. | ||||||||||||||||||
Step 2 | In the Navigation pane, expand Backup and Import. | ||||||||||||||||||
Step 3 | Click the UCS Central System node. | ||||||||||||||||||
Step 4 | In the work pane, click the Import tab. | ||||||||||||||||||
Step 5 | Click Create Import Operation. | ||||||||||||||||||
Step 6 |
In the Create Import Operation dialog box, complete the following fields:
|
||||||||||||||||||
Step 7 | (Optional)If you select Local File System, you will need to download the file after the task is finished. Click Download into backup file library. | ||||||||||||||||||
Step 8 | (Optional)Click Choose file to browse to the file that you want to upload and import in the backup file library. | ||||||||||||||||||
Step 9 | Click OK. | ||||||||||||||||||
Step 10 |
In the confirmation dialog box, click OK. If you set the Import State to enabled, Cisco UCS Central imports the configuration file from the network location. Depending upon which action you selected, the information in the file is either merged with the existing configuration or replaces the existing configuration. The import operation displays in the Import Operations table of the Import Configuration dialog box. |
||||||||||||||||||
Step 11 |
(Optional)To view the progress of the import operation and the individual module status, do the following:
The FSM Details area expands and displays the operation status. |
||||||||||||||||||
Step 12 |
Click OK to close the Import Configuration dialog box. The import operation continues to run until it is completed. To view the progress, re-open the Import Configuration dialog box. |
Step 1 | On the menu bar, click Operations Management. | ||||||||||||||||||
Step 2 | In the Navigation pane, expand Backup and Import. | ||||||||||||||||||
Step 3 | Click the UCS System node. | ||||||||||||||||||
Step 4 | In the work pane, click the Import tab. | ||||||||||||||||||
Step 5 | Click +Create Import Operation. | ||||||||||||||||||
Step 6 |
In the Create Import Operation dialog box, complete the following fields:
|
||||||||||||||||||
Step 7 | Click Ok. |
Choose the UCS Central System option to run an import operation for Cisco UCS Central. Use the UCS Central option to run an import operation for Cisco UCS Manager.
Step 1 | On the menu bar, click Operations Management. |
Step 2 | In the Navigation pane, expand Backup and Import. |
Step 3 | Click the UCS Central System node to run an import operation for Cisco UCS Central. |
Step 4 | (Optional)Click the UCS Central node to run the import operation for Cisco UCS Manager . |
Step 5 | In the Import table, click the hostname and remote file name that you want to import. |
Step 6 | ClickProperties. |
Step 7 |
Click Ok. Cisco UCS Central imports the backup configuration file that you selected. To view the progress of the backup operation, click the Task tab in the Properties dialog box. |
Step 1 | On the menu bar, click Operations Management. | ||
Step 2 | In the Navigation pane, expand Backup and Import. | ||
Step 3 | Click the UCS Central System node. | ||
Step 4 | In the work pane, click the Import tab. | ||
Step 5 | In the Import table, click the import operation that you want to delete. You cannot click a backup operation in the table if the admin state of the operation is set to Enabled. | ||
Step 6 |
In the Import table , click the import operation that you want to delete.
|
||
Step 7 | Click the Delete icon in the icon bar of the Import table. | ||
Step 8 | If Cisco UCS Central GUI displays a confirmation dialog box, click Yes. |