# Migrate or restore Red Hat OpenShift Virtualization VMs to a different cluster or namespace

You can migrate Red Hat OpenShift Virtualization (RHOV) virtual machines (VMs) to a different cluster or namespace. When you perform an RHOV VM restore, Commvault automatically recreates the VM and its associated volumes in the destination namespace or cluster.

## Start the restore wizard

1. From the Command Center navigation pane, go to Protect > Kubernetes.

2. On the Application groups tab, in the row for the application group, click the action button , and then click Restore.

3. Click Full VM restore.

4. Select the VMs to restore, and then click Restore.

## Destination page

1. For Type, select Out of place.

2. Select the cluster to restore the VM to.

3. Select an access node to perform the restore, and then click Next.

## Applications page

1. To modify the VM details, select the check box next to the VM and then click Configure restore options.

2. Select or create a namespace to restore the VM to.

3. Select the StorageClass to provision PersistentVolumes from.

4. From the Instance type list, choose a pre-defined configuration of CPU and memory for the restored VM. To customize the resources manually, select CPU and memory and then specify the desired number of CPU cores and Memory size.

5. Enter the Hostname for the restored VM, and then click Save.

6. To configure restore exclusions, click Exclude resources, and then specify filters and exclusions to the filters.

7. Click Next.

## Restore options page

1. To automatically start the VM after the restore is complete, select Power on VMs after restore.

   - During the restore, the VM is briefly powered on, regardless of the value of this setting. This brief powering on of the VM is a necessary part of the restore process and cannot be changed.

   - The power state of the VM does not affect subsequent backups.

2. To delete and overwrite existing data, enable the Unconditionally overwrite if it already exists toggle key.

3. To retain existing PVCs, enable the Do not overwrite disks (PVCs) toggle key.

   Note

   The Do not overwrite disks (PVCs) toggle key is displayed only if the Unconditionally overwrite if it already exists toggle key is enabled.

4. To restore filtered PVCs as empty, enable the Restore empty disks (PVCs) for filtered disks (PVCs) toggle key.

5. To use resource modifiers to add, delete, and modify fields in the Kubernetes resource YAMLs that you restore, select or create a resource modifier.

   Need help creating a resource modifier?

   1. Click Edit Modifiers.

   2. Beside Select a modifier, click the add button.

   3. Enter a name for the resource modifier, and then click Continue.

   4. Choose a selector, enter the value, and then click Add.

   5. Choose an action, enter the value, and then click Add.

   6. Click Save.

6. To test the resource modifiers to see how they will modify your YAML, click Test.

7. Click Next.

## Summary

1. Review the selected VMs and restore options.

2. Click Submit.

×

Loading...