Add extra non-yunohost folder to yunohost backup? (specifically to yunohost borg backup)

Hi, most things on my server are managed with yunohost, but I have a few things which are not (because they were not packaged for yunohost).

I would like to backup folders for these other services also – but ideally I don’t want to keep track of two totally independent backup systems.

I am already using borgbackup on my yunohost – is there a way to add a specific folder that will be additionally tracked and backed up by borgbackup when it is doing its regular backups?

In my case this folder is at the path /srv/infrastructures.us

Thanks for any help

I found this one related question with no answer: [Borg] Add specific folder to backup with Borg

Hello, I’m in the same case (I posted the post you’re mentioning) and didn’t find any answer yet :frowning: Interested to know if you find a solution !

[edit: I posted an issue on Github: Borg integration · Issue #6 · YunoHost-Apps/custom_backup_ynh · GitHub)

@biva I randomly stumbled across this app which I believe does just what we want: GitHub - YunoHost-Apps/custom_backup_ynh: An app to backup and restore extra paths

just need to confirm that it goes into borgbackup as expected

I also found this relevant documentation for more complicated setups:

Interesting app indeed, but I don’t think it’s what we’re looking for: I think it makes a local backup when Yunohost makes a backup, but doesn’t do that through Borg.

I’m interested to know the result of your test!