Learn how to create a backup of a Public Cloud instance in just a few clicks.
You can create a backup of your instance anytime via the OVHcloud Control Panel. Backups can be used to restore your instance to a previous state or to create a new, identical instance.
Requirements
- A Public Cloud instance in your OVHcloud account
- Access to the OVHcloud Control Panel or OVHcloud API
Instructions
Automatic instance backups
Create an automatic backup
From the OVHcloud Control Panel:
- Click
Public Cloud
in the top navigation bar. - Select your Public Cloud project.
- In the left-hand navigation menu under Compute, select
Instances
. - To the right of your instance, click the more options
...
button and selectCreate an automatic backup
.
Select Automatic instance backup as your workflow, then click Next
.
Select the targeted instance that you wish to back up, then click Next
.
Choose a schedule, then click Next
.
Give the schedule a name, then click Create
.
List your automatic backup workflows
Your backup workflow will be visible in the Workflow Management area under the Compute heading.
Delete an automatic backup workflow
NOTE: Instances and workflows are charged separately. However, if you delete an instance, all workflows attached to it will be deleted automatically (after approx. 30 minutes).
To delete the workflow, select the more options ...
button to the right of the workflow, then select Delete
.
Create an automatic backup
From the OVHcloud API you can create an automatic backup workflow using the following API call:
The backups are charged according to the space used with a granularity of 1GB. Refer to the Public Cloud pricing page for Instance Backup pricing.
Parameters:
Input | Notes |
serviceName | API to obtain a list of available services (serviceName): |
regionName | API to obtain a list of available regions (regionName): |
instanceId | API to obtain a list of Instance IDs: |
cron | Set to Unix cron format (time zone in UTC) |
maxExecutionCount | Set the number of executions to process before the end of the task. Zero (0) means that the task will never end. |
name | The name of the automatic backup schedule |
rotation | Set the number of backups to retain |
List your automatic backup workflows
This API can be used to list existing automatic backups:
Delete an automatic backup workflow
NOTE: Instances and workflows are charged separately. However, if you delete an instance, all workflows attached to it will be deleted automatically (after approx. 30 minutes).
This API can be used for deleting an automatic backup:
Manual instance backups
Create a manual backup
From the OVHcloud Control Panel:
- Click
Public Cloud
in the top navigation bar. - Select your Public Cloud project.
- In the left-hand navigation menu under Compute, select
Instances
. - To the right of your instance, click the more options
...
button and selectCreate a backup
.
In the pop-up window, enter a name for the backup and click Confirm
to finalize.
List your manual backups
It is not possible to track the progress of the backup in real time. However, by clicking Instance Backup
under Compute, you can see the status "Backup in progress" during the process.
Once the backup is complete, the status will change to "Enabled."
Delete a manual backup
NOTE: Instances and backups are charged separately. Deleting an instance will not stop the charges for instance backups. They must be deleted separately.
NOTE: You cannot delete an instance backup if an instance that has been spawned from that backup is running at the time of the delete action.
To delete an instance backup, click the more options ...
button to the right of that backup and select Delete
.
Instance backups can also be created via the OVHcloud API. To do this, you will need the following information:
Information | API call to retrieve |
---|---|
serviceName | |
instanceId |
Create a manual backup
Once you have this information, you can use the following API call to create your instance backup.
List your manual backups
You can also confirm that your backup was created successfully.
Delete a manual backup
NOTE: Instances and backups are charged separately. Deleting an instance will not stop the charges for instance backups. They must be deleted separately.
NOTE: You cannot delete an instance backup if an instance that has been spawned from that backup is running at the time of the delete action.
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.