forked from DGNum/infrastructure
fix(django-apps): Disable statedir backup until it is fixed
This commit is contained in:
parent
e19100f856
commit
5fa7ccb8e7
1 changed files with 3 additions and 3 deletions
|
@ -734,9 +734,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
dgn-backups = {
|
dgn-backups = {
|
||||||
jobs = mapAttrs' (
|
# jobs = mapAttrs' (
|
||||||
name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/django-apps/${name}" ]; }
|
# name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/private/django-apps/${name}" ]; }
|
||||||
) cfg.sites;
|
# ) cfg.sites;
|
||||||
postgresDatabases = builtins.map (name: "dj-${name}") (
|
postgresDatabases = builtins.map (name: "dj-${name}") (
|
||||||
attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites)
|
attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue