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";
};
paths = [ config.services.forgejo.stateDir ];
pruneOpts = [
"--keep-daily 10"
"--keep-weekly 7"
"--keep-monthly 12"
"--keep-yearly 75"
];
#pruneOpts = [
# "--keep-daily 10"
# "--keep-weekly 7"
# "--keep-monthly 12"
# "--keep-yearly 75"
#];
};
};

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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