✅ Backup Acronis to Hetzner StorageBox (via rsync, davfs2, or SFTP)

Here’s a comprehensive guide for Acronis Backup to Hetzner StorageBox using rsync, davfs2, and SFTP — you can choose the method that best suits your needs.


📦 Option 1: Backup Using rsync (recommended for Linux)

🔧 Requirements:

  • Acronis installed on a Linux server.
  • Rsync installed: yum install rsync -y # For RHEL-based apt install rsync -y # For Debian-based
  • StorageBox username, SSH password, and port (23 by default).

📥 Example Command:

rsync -avzP -e "ssh -p 23" /var/lib/AcronisBackup/ [email protected]:/backup/

Replace /var/lib/AcronisBackup/ with the actual path where Acronis saves backups.


🌐 Option 2: Backup Using WebDAV (davfs2)

🔧 Requirements:

  • Acronis on Linux.
  • Install davfs2: yum install epel-release -y yum install davfs2 -y Disable the EPEL repo afterward to avoid cPanel/WHM conflicts: sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo

📁 Mount WebDAV:

mkdir /mnt/storagebox
mount -t davfs https://u317464-sub7.your-storagebox.de /mnt/storagebox

🔑 Add credentials to /etc/davfs2/secrets:

https://u317464-sub7.your-storagebox.de u317464-sub7 your_password

Then add to /etc/fstab to mount at boot:

https://u317464-sub7.your-storagebox.de /mnt/storagebox davfs user,noauto 0 0

📥 Backup to Mounted Folder:

Configure Acronis to save backups to /mnt/storagebox.


🔐 Option 3: Backup Using SFTP (Secure & Easy for All Systems)

🔧 Requirements:

  • Any OS (Windows or Linux)
  • Acronis with SFTP upload feature (or use post-backup scripts).
  • StorageBox SFTP details:
    • Host: u317464.your-storagebox.de
    • Port: 23
    • Username: u317464-sub7
    • Remote path: /backup/

💡 Post-Backup Script Example (Linux):

sftp -oPort=23 [email protected] <<EOF
cd /backup
put /var/lib/AcronisBackup/latest-backup.tib
bye
EOF

You can hook this script into Acronis as a Post-Backup Command.


🧠 Notes & Best Practices

  • Use StorageBox sub-accounts for better security and isolation.
  • Always test connectivity and credentials beforehand.
  • Monitor disk space using Hetzner Robot or CLI with df -h.
  • Add logs and alerts for failure detection in your rsync/scripts.
Scroll to Top