feat(storage01): Create some backups

This commit is contained in:
Tom Hubrecht 2024-02-21 22:42:57 +01:00
parent a14e853738
commit d881bdf9a8
4 changed files with 10 additions and 1 deletions

View file

@ -87,4 +87,12 @@ in
age-secrets.matches."^forgejo-.*$" = {
owner = "git";
};
dgn-backups.jobs.forgejo.settings.paths = builtins.map (dir: "/var/lib/git/${dir}") [
"custom"
"data"
"repositories"
".ssh"
];
dgn-backups.postgresDatabases = [ "git" ];
}

View file

@ -43,5 +43,5 @@ in
};
};
# age-secrets.autoMatch = [ "netbird" ];
dgn-backups.jobs.netbird.settings.paths = [ "/var/lib/netbird-mgmt" ];
}

Binary file not shown.

View file

@ -4,6 +4,7 @@ let
in
lib.setDefault { inherit publicKeys; } [
"atticd-credentials_file"
"bupstash-put_key"
"forgejo-mailer_password_file"
"forgejo_runners-token_file"
"garage-environment_file"