feat: append only backups

This commit is contained in:
Patrick 2024-08-08 20:08:01 +02:00
parent 296c98870c
commit 68d3c2c2cc
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
8 changed files with 40 additions and 40 deletions

View file

@ -32,12 +32,12 @@ in
sshAgeSecret = "forgejoHetznerSsh"; sshAgeSecret = "forgejoHetznerSsh";
}; };
paths = [ config.services.forgejo.stateDir ]; paths = [ config.services.forgejo.stateDir ];
pruneOpts = [ #pruneOpts = [
"--keep-daily 10" # "--keep-daily 10"
"--keep-weekly 7" # "--keep-weekly 7"
"--keep-monthly 12" # "--keep-monthly 12"
"--keep-yearly 75" # "--keep-yearly 75"
]; #];
}; };
}; };

View file

@ -202,12 +202,12 @@ in
"${upload_folder}/profile" "${upload_folder}/profile"
"/run/immich_dump.sql" "/run/immich_dump.sql"
]; ];
pruneOpts = [ #pruneOpts = [
"--keep-daily 10" # "--keep-daily 10"
"--keep-weekly 7" # "--keep-weekly 7"
"--keep-monthly 12" # "--keep-monthly 12"
"--keep-yearly 75" # "--keep-yearly 75"
]; #];
}; };
}; };

View file

@ -49,12 +49,12 @@ in
"/var/lib/maddy/messages" "/var/lib/maddy/messages"
maddyBackupDir maddyBackupDir
]; ];
pruneOpts = [ #pruneOpts = [
"--keep-daily 10" # "--keep-daily 10"
"--keep-weekly 7" # "--keep-weekly 7"
"--keep-monthly 12" # "--keep-monthly 12"
"--keep-yearly 75" # "--keep-yearly 75"
]; #];
}; };
}; };
systemd.services.maddy-backup = systemd.services.maddy-backup =

View file

@ -12,7 +12,7 @@
services.open-webui = { services.open-webui = {
host = "0.0.0.0"; host = "0.0.0.0";
port = 3000; port = 3000;
enable = true; #enable = true;
environment = { environment = {
ENV = "prod"; ENV = "prod";
OLLAMA_BASE_URL = "http://localhost:3001"; OLLAMA_BASE_URL = "http://localhost:3001";

View file

@ -39,12 +39,12 @@ in
sshAgeSecret = "paperlessHetznerSsh"; sshAgeSecret = "paperlessHetznerSsh";
}; };
paths = [ paperlessBackupDir ]; paths = [ paperlessBackupDir ];
pruneOpts = [ #pruneOpts = [
"--keep-daily 10" # "--keep-daily 10"
"--keep-weekly 7" # "--keep-weekly 7"
"--keep-monthly 12" # "--keep-monthly 12"
"--keep-yearly 75" # "--keep-yearly 75"
]; #];
}; };
}; };
systemd.services.paperless-backup = systemd.services.paperless-backup =

View file

@ -41,12 +41,12 @@
sshAgeSecret = "resticHetznerSsh"; sshAgeSecret = "resticHetznerSsh";
}; };
paths = [ "/bunker" ]; paths = [ "/bunker" ];
pruneOpts = [ ##pruneOpts = [
"--keep-daily 10" ## "--keep-daily 10"
"--keep-weekly 7" ## "--keep-weekly 7"
"--keep-monthly 12" ## "--keep-monthly 12"
"--keep-yearly 75" ## "--keep-yearly 75"
]; ##];
}; };
}; };
wireguard.samba-patrick.server = { wireguard.samba-patrick.server = {

View file

@ -46,12 +46,12 @@ in
sshAgeSecret = "vaultwardenHetznerSsh"; sshAgeSecret = "vaultwardenHetznerSsh";
}; };
paths = [ config.services.vaultwarden.backupDir ]; paths = [ config.services.vaultwarden.backupDir ];
pruneOpts = [ #pruneOpts = [
"--keep-daily 10" # "--keep-daily 10"
"--keep-weekly 7" # "--keep-weekly 7"
"--keep-monthly 12" # "--keep-monthly 12"
"--keep-yearly 75" # "--keep-yearly 75"
]; #];
}; };
}; };
age.secrets.maddyPasswd = { age.secrets.maddyPasswd = {

View file

@ -1208,11 +1208,11 @@
"pre-commit-hooks": "pre-commit-hooks_3" "pre-commit-hooks": "pre-commit-hooks_3"
}, },
"locked": { "locked": {
"lastModified": 1720823772, "lastModified": 1723133809,
"narHash": "sha256-tsFUe3BU/0K4tGpPbljA4o/73nqoVi77IldpAiK/bAo=", "narHash": "sha256-CUx2HOkP6Gsd7Hi+jPgm57P9Kgq0dxRG8UrxLhjDmr8=",
"owner": "oddlama", "owner": "oddlama",
"repo": "nixos-extra-modules", "repo": "nixos-extra-modules",
"rev": "c058a7597be380492cca9eedf99db0834f777c6e", "rev": "2dfcc1f7de2cb36566c5f1b48986dd4555a173dc",
"type": "github" "type": "github"
}, },
"original": { "original": {