forked from DGNum/infrastructure
feat(storage01): Create some backups
This commit is contained in:
parent
a14e853738
commit
d881bdf9a8
4 changed files with 10 additions and 1 deletions
|
@ -87,4 +87,12 @@ in
|
||||||
age-secrets.matches."^forgejo-.*$" = {
|
age-secrets.matches."^forgejo-.*$" = {
|
||||||
owner = "git";
|
owner = "git";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dgn-backups.jobs.forgejo.settings.paths = builtins.map (dir: "/var/lib/git/${dir}") [
|
||||||
|
"custom"
|
||||||
|
"data"
|
||||||
|
"repositories"
|
||||||
|
".ssh"
|
||||||
|
];
|
||||||
|
dgn-backups.postgresDatabases = [ "git" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,5 +43,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# age-secrets.autoMatch = [ "netbird" ];
|
dgn-backups.jobs.netbird.settings.paths = [ "/var/lib/netbird-mgmt" ];
|
||||||
}
|
}
|
||||||
|
|
BIN
machines/storage01/secrets/bupstash-put_key
Normal file
BIN
machines/storage01/secrets/bupstash-put_key
Normal file
Binary file not shown.
|
@ -4,6 +4,7 @@ let
|
||||||
in
|
in
|
||||||
lib.setDefault { inherit publicKeys; } [
|
lib.setDefault { inherit publicKeys; } [
|
||||||
"atticd-credentials_file"
|
"atticd-credentials_file"
|
||||||
|
"bupstash-put_key"
|
||||||
"forgejo-mailer_password_file"
|
"forgejo-mailer_password_file"
|
||||||
"forgejo_runners-token_file"
|
"forgejo_runners-token_file"
|
||||||
"garage-environment_file"
|
"garage-environment_file"
|
||||||
|
|
Loading…
Reference in a new issue