You can migrate the backed-up system data and settings to a new Lenovo XClarity Administrator that is in the same or different network.
Before you begin
The target management server must be a new XClarity Administrator instance at the same version as the management server that was used to create the backup and must be in the Initial Setup wizard, with no steps completed. For more information, see Installing and setting up XClarity Administrator for the first time.
Ensure that you notify all active users before you initiate the backup procedure. XClarity Administrator is quiesced during the procedure to prevent data from being modified. Therefore, you cannot access XClarity Administrator while the backup procedure is running.
Download the Certificate Authority certificate from the XClarity Administrator, and import the certificate into your web browser (see Managing disk space).
Backups in the source management-server backup repository are not migrated to the target management server. Before migrating data and settings, export any backups you might need to your local system.
Restriction: Backup and restore operations are not supported when XClarity Administrator is set up as a container.
About this task
Any changes to the source management server after the backup was created is not migrated to the target management server.
Restoring a backup does not change data or settings on the managed devices. For example, if you unmanage a device and then restore a previous backup when the device was still managed on XClarity Administrator, you might have connectivity issues with that device after the restore operation is complete. Likewise, if you manage a device and then restore a previous backup when the device was still unmanaged, you might need to manually modify the device's configuration to undo its managed status or use the Force option when trying to manage it in XClarity Administrator again.
When running
XClarity Administrator as a container, the volumes that were created on the host for the one container can be used as volumes by another container. After the volumes are bound the to the new (target) container, they can no longer be used by initial (source) container.Configuring the docker-compose.yml file for the target container to use the same IP address and container name as the source container.
Stop the source container using the following command.
docker-compose -p ${CONTAINER_NAME} down
Start the target container using the following command, where <env_filename> is the name of the environment variables file. When the target container is started, the volumes are bound to the target XClarity Administrator container, and XClarity Administrator uses system data and settings from those volumes.
COMPOSE_HTTP_TIMEOUT=300 docker-compose –p ${CONTAINER_NAME} ––env–file <ENV_FILENAME> up -d
Procedure
Complete the following steps to restore XClarity Administrator.
- If the source and target XClarity Administrator are in the same network, complete the following steps.
- From the XClarity Administrator menu bar, click . The Back Up and Restore Data page is displayed.
- Click the Push Backup icon () to display the Push Data dialog.
- Specify the current IP address of the target XClarity Administrator.
- Click Continue to upload the backup to the target XClarity Administrator.
Uploading the backup might take a while. A progress bar shows the status of the job.
If you close or refresh the web browser tab or window before the upload completes, the package might not be uploaded.
- If the source and target XClarity Administrator are not in the same network, complete the following steps
- From the source XClarity Administrator menu bar, click . From the Back Up and Restore Data page, click the Export Backup icon () to export the backup to the local system.
Exporting the backup might take a while.
- Copy the exported backup from the source management server to a system in the same network as the target management server
- From the Wizard page on the target XClarity Administrator, click the Import Backup icon () to display the Import Data Package dialog.
- Click Browse to find the backup that you exported from the source XClarity Administrator.
- Click Upload to import the backup to the target XClarity Administrator.
Importing the backup might take a while. A progress bar shows the status of the job.
If you close or refresh the web browser tab or window before the upload completes, the process might fail.
- When the import is complete, specify the encryption passphrase for the backup.
- In the Confirm Data Restore dialog, verify that all information is correct.
- Click Confirm to begin loading system data and settings.
- In the Restore Options dialog, optionally choose to import operating-system images, firmware updates, OS device drivers, network settings, and device inventory.
Ensure that you carefully read all warning that are displayed in this dialog.
- If you chose to import network settings or device inventory, shut down the source management server from the source XClarity Administrator by clicking .
Confirm that the source virtual appliance has shut down before continuing
- On the target XClarity Administrator, click Confirm to begin loading data and settings from the package
If you chose to import network settings, after migration is complete the IP addresses from the source XClarity Administrator are reassigned to the target XClarity Administrator.
If the source XClarity Administrator uses DHCP, you must bind the target XClarity Administrator MAC addresses to the corresponding source XClarity Administrator IP addresses on the DHCP server. Wait at least 15 minutes after the DHCP server is modified before continuing.
- Wait for the Load Data and Settings from Package progress bar to complete.
When the data-migration process is complete, you are redirected to the login page.
If you close or refresh the web browser tab or window before the upload completes, the process might fail.
- Log in to the target XClarity Administrator to continue managing your devices.