Restoring the DevOps Test Hub data on Azure Kubernetes Service

You can restore the HCL DevOps Test Hub (Test Hub) data that is backed up in Test Hub when required.

Before you begin

You must have completed the following tasks:

  • Been assigned the same role that was required to install and uninstall Test Hub.

  • Communicated to the users that Test Hub might be unavailable for some time until the process is complete.

  • Backed up the data from Test Hub.

About this task

If you plan to restore the server data immediately after you backed up the data from Test Hub that you installed on Azure Kubernetes Service (AKS), then you must go to Step 3 to start the restoration process.

Procedure

  1. Run the following command to log in to AKS interactively:
    az login
    The command-line interface opens a browser and displays the Log-in page of AKS.
  2. Sign in with your AKS account credentials.
  3. Run the following command to start the restore process of the Test Hub data:
    velero restore create --from-backup={backup_file_name} --restore-volumes
    Tip: You can run the velero restore describe {backup_file_name} --details command to verify the progress of the restore operation.
    Note: You must replace {backup_file_name} with the name that you provided during the backing up of the server data.

Results

You have restored the data of Test Hub on AKS.