Exclude caches in backups

This commit is contained in:
clerie 2025-02-22 12:27:36 +01:00
parent 1daa8ee665
commit 36d0735896

View File

@ -12,6 +12,9 @@ def generate_default_repos(node_name, username):
f"/home/{username}", f"/home/{username}",
f"/var/www/virtual/{username}", f"/var/www/virtual/{username}",
], ],
"excludes": [
"/home/*/.cache",
],
}, },
"main-magenta": { "main-magenta": {
"repo_password": bws.get([node_name, "clerie-backup-job-main"]), "repo_password": bws.get([node_name, "clerie-backup-job-main"]),
@ -22,6 +25,9 @@ def generate_default_repos(node_name, username):
f"/home/{username}", f"/home/{username}",
f"/var/www/virtual/{username}", f"/var/www/virtual/{username}",
], ],
"excludes": [
"/home/*/.cache",
],
}, },
} }