Closed Iliannnn closed 2 months ago
+1
+1
Hello. I just got an Hetzner storage box (thanks to @dhenry123 for this sponsoring) and I was able to make backups to this storage very easily.
1- I installed SSHFS (as recommended in the Hetzner documentation) on the machine running my borgwarehouse container. 2- I mounted the directory on the "repo" volumes of the docker container
sshfs myuser@myuser.your-storagebox.de:/Hetzner-BorgWarehouse ~/volumes/repos
3- I restarted the container
Everything's working, I've been able to backup to the Hetzner storage box. I even moved some old repositories and that worked too.
I will try thanks
Hmmm, I seem to have a creation error in another context. I'll keep trying.
If you have this error on launching the container :
Error response from daemon: error while creating mount source path '~/volumes/repos': mkdir XXXX/XXXX/volumes/repos: file exists
You can solve this by using the option "allow_root" option with sshfs to authorize the docker daemon to use the mount point :
sshfs -o uid=1001,gid=1001,allow_root myuser@myuser.your-storagebox.de:/Hetzner-BorgWarehouse ~/volumes/repos
Everything works great and Hetzner storage box is pretty fast.
As several people have confirmed that it has worked properly since version 2.2.1, I'm closing this issue. Documentation for external storage is available here.
Is it possible to add a Hetzner StorageBox as a BorgWarehouse repo? We backup from a Hetzner server to the StorageBox over SSH. You can't run BorgWarehouse natively on the StorageBox because of the limited set of commands:
Is it possible to add an external repo to BorgWarehouse and therefore make this work? Thank you in advance.