fix(django-apps): Disable statedir backup until it is fixed

This commit is contained in:
Tom Hubrecht 2024-12-21 17:18:32 +01:00
parent e19100f856
commit 5fa7ccb8e7
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -734,9 +734,9 @@ in
};
dgn-backups = {
jobs = mapAttrs' (
name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/django-apps/${name}" ]; }
) cfg.sites;
# jobs = mapAttrs' (
# name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/private/django-apps/${name}" ]; }
# ) cfg.sites;
postgresDatabases = builtins.map (name: "dj-${name}") (
attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites)
);