commit d3411793e8bf0a8ea4ecbfe0a4541a32a443d55a (tree)
parent b64a407c54d89396dc60d092334fe1e01308b528
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Fri, 2 Aug 2024 15:00:09 +0300
gitea: move backups to fwminex too
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix
@@ -131,7 +131,11 @@ in
{
subvolume = "/var/lib";
repo = "${prefix}-var_lib";
- paths = [ "headscale" ];
+ paths = [
+ "headscale"
+ "gitea"
+ ];
+ patterns = [ "- gitea/data/repo-archive/" ];
backup_at = "*-*-* 01:00:01 UTC";
}
{
diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix
@@ -64,14 +64,12 @@
paths = [
"bitwarden_rs"
"caddy"
- "gitea"
"grafana"
"hass"
"nsd-acme"
"tailscale"
"private/soju"
];
- patterns = [ "- gitea/data/repo-archive/" ];
backup_at = "*-*-* 01:00:00 UTC";
prune.keep = {
within = "1d";
@@ -88,14 +86,12 @@
paths = [
"bitwarden_rs"
"caddy"
- "gitea"
"grafana"
"hass"
"nsd-acme"
"tailscale"
"private/soju"
];
- patterns = [ "- gitea/data/repo-archive/" ];
backup_at = "*-*-* 01:00:00 UTC";
}