Backing up the server data on Red Hat OpenShift

When you want to upgrade to a new version of the server software or to move your existing environments to new systems, you must back up the server data.

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 back up and restore data by using Velero. See Preparing Red Hat OpenShift cluster to backup and restore the server data.

Procedure

  1. Log in to the cluster by using oc login.
  2. 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 HCL OneTest Server.