As a service provider, you restore all VMware Cloud Director Availability appliances in the cloud site by deploying new appliances with the same roles and network settings and by using a single appliance backup .enc file from the locally downloaded backup archive.

To restore a backed-up cloud site, for example, consisting of a Cloud Replication Management Appliance, a Cloud Tunnel Appliance, and a couple of Cloud Replicator Appliance instances, you must deploy a Cloud Replication Management Appliance, a Cloud Tunnel Appliance, and a couple of Cloud Replicator Appliance instances.
The backup archive cloud-backup-product_version-site_name-date-timestampUTC.tar.bz2 file contains multiple password-protected .enc appliance backup files such as:
  • cloud-backup_id.tar.bz2.enc
  • tunnel-backup_id.tar.bz2.enc
  • And one or more replicator-backup_id-IP_Address.tar.bz2.enc
These appliance backup files contain all the backup information to restore each of the appliances in the cloud site to the date-timestamp. For more information, see Back Up the Cloud Appliances.

Repeat this procedure multiple times and restore each of the newly deployed VMware Cloud Director Availability appliances in the cloud site by using the appropriate appliance backup file, extracted from the backup archive.

Prerequisites

  • Verify that VMware Cloud Director Availability 4.1 is installed in the cloud site.
  • Verify that you extracted the cloud-backup-product_version-site_name-date-timestampUTC.tar.bz2 file locally and that you have the password for the backup.
  • Verify that the following settings of newly deployed appliance instances exactly match the backed-up appliances:
    • Version
    • Appliance roles
    • Network settings
    • Number of appliances
  • Verify that before restoring the newly deployed appliances, the existing backed-up appliances in the site are powered off.
    Caution: Restoring while a Replicator Service is operational may corrupt the replications.

Procedure

  1. Follow the order and log in to the new VMware Cloud Director Availability appliances.
    1. In a Web browser, go to the management interface of the newly deployed VMware Cloud Director Availability appliances in the following order:
      Order Appliance Service Management Interface
      1 Cloud Tunnel Appliance Tunnel Service https://Tunnel-Appliance-IP-Address/ui/admin
      2 Each Cloud Replicator Appliance instance Replicator Service https://Replicator-Appliance-IP-Address/ui/admin
      3 Cloud Replication Management Appliance Cloud Service https://Replication-Management-Appliance-IP-Address/ui/admin
    2. Log in by entering the root user password that you set during the OVA deployment.
  2. In the VMware Cloud Director Availability Appliance Password window, change the initial root user password.
    1. Enter the root user password that you set during the OVA deployment.
    2. Enter and confirm a new password. The password that you enter must be a secured password with a minimum of eight characters and it must consist of:
      • At least one lowercase letter.
      • At least one uppercase letter.
      • At least one number.
      • At least one special character, such as & # % .
  3. Perform the steps to restore from archive, according to the appliance role you restore.
    1. For the Cloud Tunnel Appliance, in the left pane, click Backup Archives and in the Backup archives page, click Restore.
    2. For each Cloud Replicator Appliance instance, under Steps to restore from archive, click Import the backup archive in each Replicator service (this service).
    3. For the Cloud Replication Management Appliance, under Steps to restore from archive, click Import the backup archive in the Cloud service (this service).
  4. In the Restore from backup archive window, browse for the appliance backup file, enter its password, and restore the appliance.
    1. Click Browse and select the extracted .enc appliance backup file for the appliance role you are restoring.
    2. In the Password text box, enter the password used to encrypt the backup.
    3. Click Restore.
      The restore starts and might take a while to complete. You cannot log in to the appliance while the restore is in progress.
    After the restore completes, the appliance restarts.
  5. (Optional) After the services start, verify that the restore is successful.
    1. Log in to the management interface of the newly restored appliance.
    2. In the left pane, click System Tasks.
      After the restore, the Generate backup archive task, which generated the backup archive used for the restore, shows Task aborted due to service reboot.
    3. Verify the Target of task.restore.backup.
      For the Cloud Replicator Appliance instances, in the System tasks page, you see Reload replication tasks for each incoming replication of this Replicator Service instance.

Results

There might be a misalignment between the replication settings stored in the database and the ones loaded from the backup file. As a result, you might see RPO violations, differing numbers of instances, and others, that you can resolve by reconfiguring the affected replications to reapply their replication settings.

After restore, if an RPO violation is present, the replication might be missing from the source Replicator Service. This situation might happen when the source site is restored to a point in time when the replication is not yet started, leading to not working synchronization. As a workaround, you can attempt to manually synchronize the replication. If the synchronization task fails with SourceReplicationNotFound, fail over the replication, stop the replication, then disable the replication services for that virtual machine in the source ESXi host, see KB https://kb.vmware.com/s/article/2106946. Finally, start a new replication with a seed virtual machine.

What to do next

You can perform replication workflows and after confirming that the newly restored appliances are operational, you can decommission the backed-up appliances that are powered off.