[OT] Hetzner Box night backup takes 6 hours?!
-
Hello all,
I know I should address this question to Hetzner directly, but chances are someone here has had – or is having – this problem.
I have two scheduled backups, one at 2:00 PM and one at 2:00 AM. The 2:00 PM backup takes about 30 minutes, 45 max. The 2:00 AM backup takes 6, 7 hours. Other night I connected while backing up and it seems that Hetzner was limiting the bandwidth to 1 Mbit per second. Data to backup is around 70 Gb.
Has something similar happened to you?
Thanks a lot
-
@andreasdueren Thanks for your answer. Hetzner Storage Box is mounted directly in /etc/fstab. This is an old way used to mount Hetzner Box, via Common Internet File System (CIFS), before Cloudron released UI.
The point is that in the day time backup takes 30-45 minutes, night time till 7 hours...
-
@p44 said in [OT] Hetzner Box night backup takes 6 hours?!:
The point is that in the day time backup takes 30-45 minutes, night time till 7 hours...
Strange.
I'm actually still on an old CIFS mount for my backup too (although I've moved to SSHFS for my volumes).
I'm using 397 GB of disk space and my night time backups normally take around 2.5-3.5 hours (although once recently it was about 6 hours).
-
@andreasdueren Maybe in future I will try Ssh, do you have better performances?
-
@jdaviescoates Interesting... I have to say that I have backup on two different data centers, from Nuremberg to Helsinki
-
@jdaviescoates Thanks. I have never never had any problems with current setup, but for about 20 days now I have had this night and day speed difference.
-
@p44 said in [OT] Hetzner Box night backup takes 6 hours?!:
@jdaviescoates Interesting... I have to say that I have backup on two different data centers, from Nuremberg to Helsinki
I do the same and have excellent performance. Try SSH
-
@andreasdueren Thanks I will test
-
@joseph said in [OT] Hetzner Box night backup takes 6 hours?!:
As @andreasdueren suggested, use sshfs when possible with hetzner storage box. The remote copy is pretty much instantaneous because the code sshs into the server and executes a copy command.
What would the exact configuration look like?
Can you share yours? -
@jayonrails Sure:
Storage Provider:
SSHFS Mount
Server IP or Hostname (sshfs):uxxxxxx.your-storagebox.de
Remote Directory (sshfs):/home
Port:23
User:uxxxxxx-sub2
# I use a sub account
Private Key:set
# Make sure to upload the respective public key to the directory
Prefix:empty
Storage Format:rsync
Encryption Password (optional):set
-
@andreasdueren In SSHFS Cloudron help page I read "When using Hetzner Storage Box, the Remote Directory is /home for the main account. We have found sub accounts to be unreliable with SSHFS. We recommend using CIFS instead if you want to use subaccounts."
Did you have some problems with hetzner sub accounts?
Also, when you write "Make sure to upload the respective public key to the directory", what do you mean exactly? In "Private Key" field what I have to paste? Then, what I have to put in directory you mention? Do you mean Hetzner sub account directory?
Edit: @andreasdueren I found something here about Ssh Key
Thanks for your time!
-
@p44 said in [OT] Hetzner Box night backup takes 6 hours?!:
Edit: @andreasdueren I found something here about Ssh Key
This is a key bit of info there:
As an alternative, with the parameter -f, you can specify a different file path.
So, on you local machine use that to generate a pair of keys in e.g. ./ssh-backups/ (instead of over writing what is in ./ssh/ ) then follow the instructions to upload the id_rsa.pub public key file onto the Storage Box and paste the id_rsa private key into the config box.
It tooke ages to work that ouy, but it's easy once you know how.
I also then store both keys in my VaultWarden in case I need then again.