Use Yunohost-Borg to backup custom apps?

What app is this about, and its version: Borg & Custom Apps
What YunoHost version are you running: 12.1.37
What type of hardware are you using: VPS bought online

Describe your issue

I am wondering if there’s a way to use the Yunohost-provided borg app to make backups of non-ynh/custom apps. I feel like it should be possible theoretically, I just don’t know how. Appreciate any input!

More Background

I needed to install Linkwarden as a Docker container because the ynh repo is unfortunately broken for some of us (cf. this issue). Now Linkwarden works great, but if something were to happen, all my data would be lost. Not cool. So since YNH gives us the ability to install custom apps, maybe it can also back them up?

Would I need to install the container in a certain directory for that to work? Can I make ynh-borg backup additional directories via CLI?

Share relevant logs or error messages

no error log, just curious

I don’t use the ynh_borg app but no one has responded yet, so i’ll tell you what i use because perhaps this can give you some ideas

I use some custom borg scripts based on scripts that are at the origin of the ynh_borg app (found on the forum many years ago)

In one of these scripts, i use this line :

yunohost backup create -n "${PREFIX}${AUJOURDHUI}" --system conf_custom conf_ynh_settings conf_ynh_certs conf_ldap data_home --method mylocalborg

The custom backups are defined by conf_custom. And i followed this doc :

If you don’t have the possibility on the UI , i guess you should be able to do it by modifying the configuration file create by it.

With this, i can do my borg backup with yunohost backup commands.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.