feat: fix restic backup excludes
This commit is contained in:
parent
c8daf04ee4
commit
b43103deb5
1 changed files with 12 additions and 7 deletions
|
|
@ -6,18 +6,23 @@
|
|||
backups = {
|
||||
localbackup = {
|
||||
exclude = [
|
||||
"/home/*/.cache/*"
|
||||
"/home/*/.local/share/libvirt/*"
|
||||
"/home/*/.local/share/Steam/*"
|
||||
"/home/*/.local/share/Trash/*"
|
||||
"*/venv/*"
|
||||
"*/.direnv/*"
|
||||
"*/Android/*"
|
||||
"/home/$USER/.cache"
|
||||
"/home/$USER/.local/share/libvirt"
|
||||
"/home/$USER/.local/share/Steam"
|
||||
"/home/$USER/.local/share/Trash"
|
||||
"/home/$USER/Android"
|
||||
".venv"
|
||||
"venv"
|
||||
".direnv"
|
||||
".git"
|
||||
];
|
||||
initialize = true;
|
||||
paths = [
|
||||
"/home"
|
||||
];
|
||||
extraBackupArgs = [
|
||||
"--one-file-system"
|
||||
];
|
||||
repository = "s3:https://s3.filmsli.de/restic-framework";
|
||||
pruneOpts = [
|
||||
"--keep-daily 7"
|
||||
|
|
|
|||
Loading…
Reference in a new issue