Hetzner is one of the leading cloud providers. The following guide will help you, step by step, automate your Hetzner server and volume 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.

Three easy steps:

1. SimpleBackups Account

2. Connect your Hetzner account to SimpleBackups

a. Obtain your Hetzner API credentials

b. Create a new provider on SimpleBackups with your Hetzner API Token

3. Create a snapshot backup job

a. Choose your Hetzner account

b. Choose the server to automate its snapshots

c. Set the retention you need

d. Save the snapshot backup job

Now, let's get started!


Step 1. SimpleBackups Account

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


Step 2. Connect your Hetzner account to SimpleBackups

In this step, we will generate a unique API Token on Hetzner that will allow us to automate Hetzner snapshots from SimpleBackups dashboard.

Obtain your Hetzner API credentials as shown below: go to https://console.hetzner.cloud/projects/ and choose your project,

then click Security => API Tokens => Generate API Token

SimpleBackups Hetzner Create API Token Credentials Step1

Choose the Read & Write permission, enter a name for your token, then click Generate API Token

SimpleBackups-Hetzner-Generate-API-Token-Credentials-Step2

Your token will be shown once. Make you copy it and immediately add it to SimpleBackups.

SimpleBackups-Hetzner-Create-API-Token-Credentials-Step3

Afterwards, create a new provider on SimpleBackups with your Hetzner API Token by going to then snapshots creation section and click Connect a new provider as shown.

SimpleBackups-Hetzner-Connect-Add-Provider-Step1

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

SimpleBackups-Hetzner-Connect-Add-Provider-Step2

Step 3. Create a Hetzner snapshot backup job.

SimpleBackups-Hetzner-Create-Snapshot-Volume-Backup-Job

a. Choose your Hetzner account

b. Choose the server to automate its snapshots: you could either choose a server under the Resource Type or choose a volume. The Resource dropdown will be populated by all the Hetzner resources accessible under your Hetzner account / project.

c. Set the retention you need: this is a number of snapshots we will keep, anything more than this number will be pruned/rotated automatically for you.

d. Save the snapshot backup job: give your snapshot backup job a friendly name, then click Create Snapshot

SimpleBackups-Hetzner-Create-Snapshot
Did this answer your question?