bu-backup plugin - Cant backup to Hetzner Storage box

MBHUK

New member
Joined
May 21, 2025
Messages
3
Hi folks,

Wondering if you can point me in the right direction, I have recently just setup the bu-backup plugin for my Direct Admin setup as I want to allow clients to be able to restore sites themselves along with having an automatic backup feature in place, however I have configured the plugin to use my hetzner storage box account but I cannot get it to work, if I try FTP or SSH I just get 'Could not connect remote host' Check username and Password and Check host and port number

I've also checked to make sure port 21 and 22 are enabled in CSF which they are.

Help please!
 
There are a couple of threads on the forums about Hetzner storage boxes, you can have a look.
In most cases of timeouts to the remote host it's either username/password error or the firewall not having the correct outgoing ports open.

For example. Als open port 20 (ftp data port) on your server incoming and outgoing and it might be wise to open the PASV port range which DA is using which is 35000:35999 and try if that works. Maybe you need others.

Most simple way to detect if it's the firewall is to disable firewall completely, try the backup and if it connects then you know where to look.
Also search for other posts about this here on the forum.
 
There are a couple of threads on the forums about Hetzner storage boxes, you can have a look.
In most cases of timeouts to the remote host it's either username/password error or the firewall not having the correct outgoing ports open.

For example. Als open port 20 (ftp data port) on your server incoming and outgoing and it might be wise to open the PASV port range which DA is using which is 35000:35999 and try if that works. Maybe you need others.

Most simple way to detect if it's the firewall is to disable firewall completely, try the backup and if it connects then you know where to look.
Also search for other posts about this here on the forum.
Thanks for the suggestion.

I've disabled the CSF firewall and the issue still persists, also checked and confirm there ports and passive ports you mention are also open but still cant get this plugin to connect to Hetzner storage box.
 
Exactly which plugin are you using?
And can you connect with FTP to the storage box via FTP from commandline?
 
The hetzner storage boxes use passive ftp ports 49152 through 65534 for Pure-FTPd servers and ProFTPD servers by default.

You can open them for outbound and for inbound on ip level, port should be 21 / 22 cant remember on that part. Test it with ftp and sftp. And DA backup works fine

But the hetzner boxes will give you 85% of the time bad speeds at some moment.
 
The hetzner storage boxes use passive ftp ports 49152 through 65534 for Pure-FTPd servers and ProFTPD servers by default.
Yes but he's using a plugin which does not use FTP but SSH.

He might indeed better not pay for a plugin and just use FTP from DA.
 
I might have to have a look at this one myself. I use JetBackup on my servers and backup to a Hetzner storagebox. Just a word of advice, you cant ssh into the box on port 22, you can sftp into it from the terminal with port 23 and issue basic commands, but backups from your DA setup may use port 22 on sftp. My setup backs up daily with port 22 over sftp.
 
I might have to have a look at this one myself. I use JetBackup on my servers and backup to a Hetzner storagebox. Just a word of advice, you cant ssh into the box on port 22, you can sftp into it from the terminal with port 23 and issue basic commands, but backups from your DA setup may use port 22 on sftp. My setup backs up daily with port 22 over sftp.

Hi, Just to confirm have you got this setup using the Admin backup / transfer feature built into Direct Admin? I've been trying to get this to work using sftp to my hetzner storage box but it just doesn't connect for some reason.
 
Back
Top