This category is for issues regarding specific apps, NOT general issues with YunoHost.
on
This form is written in English but feel free to write in French if you’re more comfortable!
on
What type of hardware are you using
Raspberry Pi 3, 4+
What YunoHost version are you running
11.2.31
What app is this about
Borg Backup, Borg Server
Describe your issue
I have been attempting to set up borg, and I have been encountering a great number of issues throughout this process.
My current issue? When I tried to reinstall Borg Backup, the post-install notification was missing the fields that were needed to install borg_server. I uninstalled both, since I was having an issue getting them to work. At first, I was having issues with the formatting, since it appears to have changed, but the documentation contradicts this change. I had to discover it through trial and error. Then, every time I would run borg, the borg_server instance’s SSH would lock up (connection refused), and I would be forced to restart the instance to make another attempt (just restarting SSH did not fix it). Then, once that was figured out, something was not being properly communicated, and I was getting authentication errors, despite installing borg server through the command line command provided by the post-install notification. This brings me back to now, where I reinstalled. I will attach a number of logs.
It feels like a miracle that the initial installation worked this time without me needing to truncate it. No idea why it told my it was incorrectly formatted before.
I have the same issue with authentication, could someone please tell me what I am doing wrong?
Is it related to this? Surely this would have been patched out in the last 11 months.
after reading all this about your borg problems, i would suggest giving restic a try.
restic seems more straightforward to me. if you aren’t going to stick with built-in backup, you might want to take a look. if you don’t like it, you can go back and try to troubleshoot this more.
…Did borg backup just lose it’s “long-term well maintained” star from the application catalogue?
I’m a little embarrassed. I hadn’t set up fail2ban, and the “connection refused” was actually from being banned. I figured it out since my reverse proxy was returning a 502 too, despite the remote server being up.
I did install borg again to double check that being banned wasn’t the cause of this problem, and it still did not function. I just wanted to clarify that part of my issues here were my fault. For all I know, all of these issues are somehow my fault.
I will be checking out backrest. I only wonder if it’s wise to use SFTP to backup. I imagine I’ll create a whole new user on my remote machine. I really appreciate the suggestion from both of you, both the idea to use restic, and the ability to use a yunohost package.