How to automate OVH Instance Snapshots

SimpleBackups developer

Nour Sofanati

Developer, SimpleBackups

February 28, 2024

The following guide will help you, step by step, automate your OVH instance snapshots. The steps are very easy and will only involve minimal effort.

Afterwards, you will be able to take snapshots, automatically on your own terms, whether you need to take them daily, weekly, every couple of hours or on-demand using our API. You will also have the option to choose the number of snapshots to keep on your provider to save snapshot storage cost.

Now, let's get started!

Prerequisites

Step 1: Create a SimpleBackups Account

Create or login to your SimpleBackups account, then head to the snapshot creation section.

Step 2: Add OVH to SimpleBackups

In this step, we will generate an API Key and Secret on OVH that will allow us to automate OVH snapshots from SimpleBackups dashboard.

You'll find a step-by-step illustrated guide on how to generate a OVH API Key in our documentation.

Afterwards, create a new provider on SimpleBackups with your OVH API Key by going to the snapshot creation section and click + as shown.

Add provider

Grab your service name, application key, application secret, and endpoint from your OVH account and paste them in the corresponding fields in SimpleBackups.

Select OVH from the Provider dropdown list, enter a name for your OVH account, then paste the Token we obtained in the previous step and click save provider.

Choose what you want to backup.

Step 3: Create a OVH snapshot backup job

In this step, and after connecting our OVH account, we will simply create the snapshot backup job and select the needed server or volume.

Step 3a: Choose your OVH account

From the list, choose the OVH account you need to take its snapshots. You may add as many OVH accounts as you need under your SimpleBackups account.

Step 3b: Choose OVH an instance resource

Select "Server" under the Resource Type. The Resource dropdown will be populated by all the OVH Instances (Cloud Compute) accessible under your OVH account.

Choose OVH server

Step 3c: Set the retention you need

The Retention is a number of snapshots we will keep, anything more than this number will be pruned/rotated automatically for you.

Step 3d: Save the snapshot backup job

Finally, give your snapshot backup job a friendly name, then click Create Snapshot.

create a OVH snapshot

Congratulations, you now have an automated OVH snapshot backup.

Run it once manually (using the "Run" snapshot button from the snapshots list) and you'll trigger your first snapshot backup!



Back to blog

Stop worrying about your backups.
Focus on building amazing things!

Free 7-day trial. No credit card required.

Have a question? Need help getting started?
Get in touch via chat or at [email protected]

Customer support with experts
Security & compliance
Service that you'll love using