Learn how to transfer an instance backup from one OpenStack region to another while preserving the configuration and state of the instance.
Through this guide, you will create an OpenStack environment that will be used as a "jump host" to transfer the backup from one region to another. This environment can be an instance hosted on OVHcloud or your local machine.
Requirements
- A Public Cloud instance in your OVHcloud account
- OpenStack CLI (see this guide for more information)
- Connectivity to OVHCloud OpenStack APIs
- Available storage that matches the instance disk size (for temporary backup storage)
This environment will be used as a "jump host" to transfer the backup from one region to another. This environment can be an instance hosted on OVHcloud or your local machine.
Instructions
If you need to create a backup with OpenStack, please refer to our Backing up an instance guide.
Download the backup
Next, run this command to list available instances:
Now identify the instance backup from the list:
Finally, run this command to download the backup on the jump host:
Transfer the backup to another OpenStack region
To start the transfer process, you first need to load new environment variables.
NOTE: If you are transferring your backup to an OpenStack region within the same project, you will need to change the variable OS_REGION_NAME.
If you are transferring your backup to another project or account, you will have to reload the environment variables linked to that account using the following command:
To transfer the backup to the new OpenStack region, use this command:
NOTE: If your instance uses a Windows image, you need to add specific properties. Otherwise, when creating the instance via the OVHcloud Control Panel, it will not be possible to associate a flavor of the win-x-x type. This type of flavor, and only this one, enables authentication to the OVHcloud KMS.
Add specific properties for image creation:
Add specific properties after image creation:
If you wish to recreate your instance from this backup, follow our Using instance backups to create or restore an instance guide.
Go further
For more information and tutorials, please see our other Public Cloud support guides or explore the guides for other OVHcloud products and services.