Backing up DevOps Test Hub data on Red Hat OpenShift
When you want to upgrade to a new version of Test Hub or to move your existing environments to new systems, you must back up the data.
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 back up and restore data by using Velero. See Preparing IBM Red Hat OpenShift cluster to backup and restore DevOps Test Hub data.
Procedure
- Log in to the cluster by using oc login.
-
Start the backup process by running the following command:
velero backup create <backup_file_name> --include-namespaces=<name_of the_namespace>Note: You must replace<backup_file_name>and<name_of the_namespace>with the actual value in the command.
Results
You have backed up the data of Test Hub.