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 = {
|
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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue