Reference Guide: Optimizing Backup Strategies for Red Hat OpenShift Virtualization

How do I migrate VMs between two clouds in OpenStack?

To migrate VMs between two OpenStack clouds, use the same NFS/S3 storage or ensure replication at the storage level. Assuming both clouds share the same backup storage, this process involves admin functions. First, identify workloads not originating from the same cloud using:

workloadmgr workload-get-importworkloads-list

Then, import the identified workloads to the second cloud with:

workloadmgr workload-reassign-workloads --new_tenant_id <new_tenant_id> --workload_ids <workload_id> --user_id <user_id> --migrate_cloud True

Finally, restore the workload backup on the second cloud, using selective restore to map the VM to new resources such as network and volume type.