Get Rewarded! We will reward you with up to €50 credit on your account for every tutorial that you write and we publish!

Synology Hyper Backup to Hetzner Storage Box

profile picture
Author
Stefan Weiberg
Published
2023-05-23
Time to read
4 minutes reading time

Introduction

In this tutorial we are configuring Hyper Backup on a Synology NAS to create a backup on a Hetzner Storage Box via rsync.

Step 1 - Configure access to Storage Box

First, we have to make sure that the Storage Box is externally reachable and SSH support is activated. We need to head to the Storage Box administration page in Hetzner Robot and select our Storage Box for the backup. Here, we have to activate "SSH support" and "External reachability".

Storage Box configuration

Step 1.1 - Optional sub-account creation

Optionally, we can create a sub-account for the backup task. In this case, we have to make sure this sub-account has "External reachability" and "SSH support" active as well.

sub-account creation

For the rest of the tutorial, we will have to replace the username with the sub-account username in the URL and user authentication (replacing u000001).

Step 2 - Create new backup task in Synology Hyper Backup

We start the Hyper Backup backup wizard in DSM and create a new rsync backup task.

rsync backup task

Step 3 - Configure backup destination

Now, we configure the rsync backup task to connect to our Storage Box, which is a rsync-compatible server.

backup destination settings

  • Server name or IP address / Username
    Please keep in mind that we have to change the user ID in the "Server name or IP address" and "Username" fields, in case we created a sub-account for the backup in the Storage Box admin interface.

  • Transfer encryption
    "Transfer encryption" needs to be active.

  • Port
    We need to change the port to 23.

  • Backup module
    The "Backup module" always needs to point to /home/, even when using a sub-account with a different base directory. When clicking on the dropdown, we will receive an error message, which we can ignore. Instead, we type in /home/ directly in the field.

  • Directory
    The "Directory" field should contain the name of the to-be-created backup folder. It will be created in the base directory of the user.

We can now click on "Next".

Step 4 - Finish configuration of Hyper Backup

In the last step, we finish the configuration of our backup task.

Step 4.1 - Folder selection

First, we select the folders we want to backup:

folders to backup

Step 4.2 - Application selection

In the next screen, we can select if we want to backup application settings of our Synology applications:

applications to backup

Step 4.3 - Task settings

In our last step, we can configure our backup task to be automatically scheduled. The most important part on this screen is the client-side encryption, which is recommended to be activated. Please carefully read the pop-up warning about the encryption key and store it in a safe location.

task settings

In case we have enabled a scheduled backup, we can also configure a custom retention for backup files in the next and last screen of the wizard.

Now we can start our first backup.

Conclusion

We have created an easy-to-use backup solution for our Synology NAS by using a Storage Box as an off-site backup location. We can now go even further and enable automatic snapshots on our Storage Box for further safety of our backup. Compared to a backup with Borg Backup (installable from the Synology Community repository), this uses standard tools delivered with a Synology NAS and does not require any console access or .yml file for configuration and execution.

License: MIT
Want to contribute?

Get Rewarded: Get up to €50 in credit! Be a part of the community and contribute. Do it for the money. Do it for the bragging rights. And do it to teach others!

Report Issue

Discover our

Storage Box

Access your storage from everywhere and at any time via PC, smartphone, and tablet.

Want to contribute?

Get Rewarded: Get up to €50 credit on your account for every tutorial you write and we publish!

Find out more