Backing up the DevOps Test Hub data on Azure Kubernetes Service
You might want to back up the HCL DevOps Test Hub (Test Hub) data to protect against data corruption or malicious attacks. You might also want to back up the data when you want to upgrade to a new version of Test Hub.
Before you begin
You must have completed the following tasks:
-
Been assigned the same role that was required to install and uninstall Test Hub.
-
Installed Test Hub and all of the Test Hub pods are in Running state.
-
Communicated to the users that Test Hub might be unavailable for some time until the process is complete.
-
Prepared your cluster to store the backed-up data by using Velero. See Preparing the Azure Kubernetes Service cluster to back up the DevOps Test Hub data.
About this task
Procedure
-
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. - Sign in with your AKS account credentials.
-
Run the following command to start the backup process of the Test Hub data:
velero backup create {backup_file_name} --include-namespaces=test-system --default-volumes-to-restic
Note: You must replace{backup_file_name}
with the name that you want to provide for the backup file.Tip: You can run the velero backup describe {backup_file_name} --details command to verify the progress of the backup operation.