What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: Restic backup
Describe your issue
Hi yunohost forum! I installed yunohost last week, and I am really liking using yunohost so far, it’s a great system. Unfortunately I hit a snag with the restic backup app.
I’m trying to set up an automated backup system for my yunohost instance. As a first step, I figured I’d install the restic app and get it to backup to a local folder (perhaps /ResticBackups or somewhere similar. Backup up to external storage is the next step.).
When running the restic, execution fails with a bunch of warnings about sudo creating new permissions and then a failure exit code (see included logs).
When installing the restic app, essentially the only setting I’ve changed at all is the destination dir. Some destinations I tried:
/tmp/ResticBackups/home/yunohost.backup/ResticBackups/home/bobrubbens/ResticBackups, with theResticBackupsdir pre-made through SSH before installing the app. I set the permissions for that folder fully to theresticuser after installation of the restic app, but before running the restic service.
My yunohost install at this point is pretty vanilla. I have Immich, Navidrome, Filebrowser and Roundcube installed, and did not do any customization, beyond using the yunohost web api, at all.
I’ve also tried re-installing the restic app a bunch of times, and I tried restarting the server a few times, and also doing a system (apt) update through the web UI. The error is still there. Not even a folder ResticBackups is created.
Any ideas? I’m happy to do further debugging, but at this point I’m just lost on how to continue. I’d prefer to keep using restic, as it seems there are nice cheap storage options available, but if the package will remain broken in the long term perhaps I should consider borg, or maybe the builtin backup facilities + a custom restic script…?
As a side question: I’ve found very few sources/examples on how to restore backups made with the restic app. I was hoping I don’t have to copy/rsync files myself, but can instead just click in the yunohost web interface to “import” a backup… Is that the case? I’d be happy to write a blog post about it once I figure it out, if someone can point me in the right direction…? In any case, I’ll settle for getting restic working in the first place if it comes down to it :-).