Ignore some regeneratable files in backups

Reduces the size of Lidarr and Photoprism backups
This commit is contained in:
IamTheFij 2023-11-07 16:50:02 -08:00
parent a0185d9642
commit 9b347880cc
2 changed files with 8 additions and 1 deletions

View File

@ -38,7 +38,11 @@ job "lidarr" {
paths = ["/data/nas-container/lidarr"] paths = ["/data/nas-container/lidarr"]
backup_opts { backup_opts {
Exclude = ["lidarr_backup_*.zip"] Exclude = [
"lidarr_backup_*.zip",
"/data/nas-container/lidarr/MediaCover",
"/data/nas-container/lidarr/logs",
]
Host = "nomad" Host = "nomad"
} }

View File

@ -36,6 +36,9 @@ job "photoprism" {
backup_opts { backup_opts {
Host = "nomad" Host = "nomad"
Exclude = [
"/data/nas-container/photoprism/cache",
]
} }
restore_opts { restore_opts {