YunoHost-Apps / borg_ynh

An experimental Borg implementation for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
19 stars 22 forks source link

list of apps to backup : all except "app1, app2" #114

Closed tomdereub closed 2 years ago

tomdereub commented 2 years ago

Is it possible to add the possibility to backup all apps except a list of apps ? My use case : I want to backup all apps, but I have one app that has no backup script (ssh_chroot_dir). So the emails send are always marked as failed. I would like to be able to backup all apps except ssh_chroot_dir. I know I could list all installed apps with "yunohost app setting borg apps", but this way it wouldn't include new apps, so I risk to forget to add a new app in the backup when I install it. Same demand on restic : https://github.com/ashemsay/restic_ynh/issues/15

xoddark commented 2 years ago

What you want is exclude: ? It exist and is indicated in config-panel : App list separated by comma. You can write 'all' to select all apps, even those installed after this borg app. You can also select all apps but some apps by writing 'exclude:' following by an app list separated by comma.

PS: I had the same problem when I tried the app the first time 😉

tomdereub commented 2 years ago

That's it, perfect, thank you ! I've just discovered the config panel for this app at the same time, that's great. I just tried a few syntax before finding the good one, wich is : image