Hetzner - DokuWiki



Applying for backup space

In addition to your dedicated/virtual server you can acquire a backup space to use for your own backups. This backup space can be ordered via Robot. To do so, click on the Server menu on the left, select your server and then go to the "Backup" tab. Here you can order different sizes of backup space, as well as up/downgrading your current backup space. The available backup space options can be found in the table below (all prices include 19% VAT):

Backup Space Monthly Fee Setup Fee
100 GB* 4.90 €* 4.90 €*
500 GB 9.90 € 9.90 €
2,000 GB 19.90 € 19.90 €
5,000 GB 44.90 € 44.90 €
10,000 GB 79.90 € 79.90 €

*Clients with servers costing 49 Euros per month or more can get the 100 GB backup space for free.

Important: please note that the backup space can only be used from your server as access is only permitted from within the Hetzner network.

Functions in Robot


Useful software

  • Backup with Tartarus
    • "On-the-fly” backup on FTP server
    • Support of LVM snapshots
    • Encryption (symmetrical or asymmetrical by key or password)
    • Incremental security measures
    • Profile configuration files
    • Integrated "Hooks" make it suitable for special cases
    • Tartarus backup configuration with examples and instructions
  • Backup with Backup2l/gpg/ftp

General tips

Please note that the upload speed for the backup account is dependent on how many other clients are simultaneously accessing the backup server. Consider running your backups at another time if you experience performance problems.





For example:

server# ssh-keygen
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
The key fingerprint is:
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|                 |
|         .   =   |
|      . S = * o  |
|   . = = + + =   |
|    X o =   E .  |
|   o + . .   .   |
|    .            |


server# cat .ssh/id_rsa_rfc.pub

server# cat .ssh/id_rsa_rfc.pub >> backup_authorized_keys

Connecting to u15000.your-backup.de...
u15000@u15000.your-backup.de 's password:
sftp> mkdir .ssh

u15000@u15000.your-backup.de's password:
backup_authorized_keys                                        100%  406     0.4KB/s

server# sftp u15000@u15000.your-backup.de
Connecting to u15000.your-backup.de...
sftp> ls
sftp> exit



You have the option of integrating your backup space with Samba/Cifs. To do so you can use the following UNC path:


Furthermore, with the following line of code in /etc/fstab the backup space will be mounted automatically during boot time (it is just one line of code!)

//<username>.your-backup.de/backup /mnt/backup-server       cifs    iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=<Systemkonto>,gid=<Systemgruppe>,file_mode=0660,dir_mode=0770 0       0



On Debian-based distributions, the command is provided via the package cifs-utils (apt-get install cifs-utils).




You can also access your backup space with the same hostname via IPv6. To get the IPv6 address you can for example use the following command:

dig AAAA <username>.your-backup.de

Determining memory usage

To find out how much free space you have (be it via backup scripts or status emails) you can use the "sftp" or "lftp" program:

apt-get install sftp
echo "df"     | sftp USERNAME@BACKUPSERVER
echo "df -h"  | sftp USERNAME@BACKUPSERVER
echo "df -hi" | sftp USERNAME@BACKUPSERVER

Under certain circumstances lftp can give you incorrect values, which is why sftp is recommended. Following is the variant with lftp:

# apt-get install lftp

Determining memory usage:

# echo du -s .  \

This is more readable with the parameter -h:

# echo du -hs .  \



© 2019. Hetzner Online GmbH. Alle Rechte vorbehalten.