feat(borgmatic): ensure that all sqlite databases are backed up separately from the services they store data for

This commit is contained in:
wi11-holdsworth 2026-01-15 15:38:54 +11:00
parent 48b0a2325d
commit 384b9cc0bb
11 changed files with 77 additions and 0 deletions

View file

@ -13,6 +13,13 @@ in
group = "srv";
};
borgmatic.settings.sqlite_databases = [
{
name = "sonarr";
path = "/srv/sonarr/sonarr.db";
}
];
caddy.virtualHosts."sonarr.fi33.buzz".extraConfig = ''
reverse_proxy localhost:${toString port}
tls ${certloc}/cert.pem ${certloc}/key.pem {