Backing up the server data on Azure Kubernetes Service
You might want to back up the server data to protect against data corruption or malicious attacks. You might also want to back up the server data when you want to upgrade to a new version of the server software.
Before you begin
You must have completed the following tasks:
-
Been assigned the same role that was required to install and uninstall the server software.
-
Installed the server software and all of the HCL OneTest™ Server pods are in Running state.
-
Communicated to the users that HCL OneTest™ Server 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 server 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 HCL OneTest™ Server 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.