Upgrading Infrastructure Automation backup and restore artifacts

Use this procedure if you want to run backup or restore on an upgraded Infrastructure Automation deployment.

If you run a backup or restore on an Infrastructure Automation deployment, the backup and restore scripts must always be the same version as your deployment. For example, if you run backup on an Infrastructure Automation v4.8.1 deployment, you must use a v4.8.1 backup script.

If you previously set up backup or restore on a deployment that you have now upgraded, then you must cleanup any existing backup or restore artifacts. If you then want to run a new backup or restore, you must get the new version of the backup or restore scripts.

Note: If you have never set up backup or restore and you want to run backup or restore, then use the instructions in Infrastructure Automation backup and restore.

Set up backup on an upgraded Infrastructure Automation deployment

Use the following steps to upgrade your backup artifacts.

  1. Uninstall the backup helm chart.

    Run the following command in the namespace that Red Hat OpenShift APIs for Data Protection (OADP) is installed in.

    helm uninstall backup-job
    
  2. Set up backup for Infrastructure Automation v4.8.1.

    If you need to run backup for Infrastructure Automation v4.8.1, follow the instructions in Backing up Infrastructure Automation data to set up backup.

    Important: The cp4waiops-bcdr image must be the same version as your Infrastructure Automation deployment. Follow these instructions to ensure that your cp4waiops-bcdr image is v4.8.1 for your Infrastructure Automation v4.8.1 deployment.

Set up restore on an upgraded Infrastructure Automation deployment

Use the following steps to upgrade your backup artifacts.

  1. Uninstall the restore helm chart.

    Run the following command in the namespace that Red Hat OpenShift APIs for Data Protection (OADP) is installed in.

    helm uninstall restore-job
    
  2. Set up restore for Infrastructure Automation v4.8.1.

    If you need to run restore for Infrastructure Automation v4.8.1, follow the instructions in Restoring Infrastructure Automation data.

    Important: The cp4waiops-bcdr image must be the same version as your Infrastructure Automation deployment. Follow these instructions to ensure that your cp4waiops-bcdr image is v4.8.1 for your Infrastructure Automation v4.8.1 deployment.