feat: fix restic backup excludes

This commit is contained in:
etwas 2025-12-08 14:00:30 +01:00
parent c8daf04ee4
commit b43103deb5

View file

@ -6,18 +6,23 @@
backups = { backups = {
localbackup = { localbackup = {
exclude = [ exclude = [
"/home/*/.cache/*" "/home/$USER/.cache"
"/home/*/.local/share/libvirt/*" "/home/$USER/.local/share/libvirt"
"/home/*/.local/share/Steam/*" "/home/$USER/.local/share/Steam"
"/home/*/.local/share/Trash/*" "/home/$USER/.local/share/Trash"
"*/venv/*" "/home/$USER/Android"
"*/.direnv/*" ".venv"
"*/Android/*" "venv"
".direnv"
".git"
]; ];
initialize = true; initialize = true;
paths = [ paths = [
"/home" "/home"
]; ];
extraBackupArgs = [
"--one-file-system"
];
repository = "s3:https://s3.filmsli.de/restic-framework"; repository = "s3:https://s3.filmsli.de/restic-framework";
pruneOpts = [ pruneOpts = [
"--keep-daily 7" "--keep-daily 7"