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:
    RESTORE_NAME=<Your_Restore_Name>

    For example: RESTORE_NAME=devops0.restore.20241002

    velero restore create $RESTORE_NAME --from-backup $BACKUP_NAME
    Tip: You can run the velero restore describe $RESTORE_NAME --details command to verify the progress of the restore operation.

Results

You have restored the data of Test Hub on AKS.