Backing up an instance

Objective

You can create a single backup of an instance or configure a schedule in order to automate your instance backups. Backups can be used to restore your instance to a previous state or to create a new, identical instance.

This guide explains how to create manual and automatic backups of a Public Cloud instance.

Requirements


OVHcloud Control Panel Access


Instructions

Creating a backup of an instance

Warning

This option is only available through a Cold Snapshot for Metal instances. During this process, the Metal instance will be switched to rescue-mode, and once the backup is performed, the instance will reboot back to normal mode.

Info

Two types of backup are available:

  • Local: A local backup is stored in the same region as your instance.
  • Distant: A distant backup automatically creates a copy of the local backup in a different region of your choice.

Each backup is billed separately — the distant backup will be charged based on the storage pricing of the selected remote region.

Note: Local Zones are not eligible for distant backups.

Via the OVHcloud Control Panel
Via the OVHcloud API
Via the OpenStack CLI
Via Horizon

Click on Instances in the left-hand menu.

Click on the ... button to the right of the instance and select Create backup.

public-cloud-instance-backup
Local backup

Enter a name for the backup. Review the pricing information and click Confirm.

public-cloud-instance-backup
Distant backup

Enter a name for the backup. Review the pricing information. Click Add a remote backup (Option), enter a name for distant backup, select a region and click Confirm

public-cloud-instance-backup

It is not possible to monitor backup progress in real time. However, in the Instance Backup section under Compute in the left-hand menu, the status Backup in progress will be displayed during the process.

Once the backup is complete, it will be available in the Instance Backup section under Compute in the left-hand menu.

public-cloud-instance-backup

Creating an automated backup of an instance

Info

If you want to automate this functionality directly via OpenStack, you can create a Mistral workflow associated with a cron trigger.

Click on the ... button to the right of the instance and select Create an automatic backup.

public-cloud-instance-backup

You can configure the following backup settings on the next page:

The workflow

Currently, only one workflow exists. It will create a backup for the instance and its primary volume.

public-cloud-instance-backup

The resource

You can select the instance to back up.

public-cloud-instance-backup

The name

Enter a name for the automatic backup schedule. Take note of the pricing information and create the schedule with Confirm.

public-cloud-instance-backup

The schedule

You can set up a custom backup schedule or choose one of the default frequencies:

  • Daily backup with retention of the last 7 backups
  • Daily backup with retention of the last 14 backups
public-cloud-instance-backup
Adding a remote backup

Click the Add a remote backup button, select a location, review the pricing information, and click the Create button.

public-cloud-instance-backup-distant

Managing backups and schedules

Schedules can be created and deleted in the Workflow Management section, which is located under Compute in the left-hand menu.

public-cloud-instance-backup

Your instance backups are managed in the Public Cloud Instance Backup section, which can be found under Compute in the left-hand menu.

public-cloud-instance-backup
Warning

The instance backup option must be deleted separately if you no longer wish to be billed for it. Deleting an instance does not delete the options attached to it.

Warning

Note that you cannot delete an instance backup if an instance that has been spawned from this backup is running at the time of the delete action.

Find out how to use backups to clone or restore instances in this guide.

Go further

Using instance backups to create or restore an instance

Join our community of users.

Was this page helpful?