Ignore some regeneratable files in backups
Reduces the size of Lidarr and Photoprism backups
This commit is contained in:
parent
a0185d9642
commit
9b347880cc
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@ job "photoprism" {
|
|||||||
|
|
||||||
backup_opts {
|
backup_opts {
|
||||||
Host = "nomad"
|
Host = "nomad"
|
||||||
|
Exclude = [
|
||||||
|
"/data/nas-container/photoprism/cache",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
restore_opts {
|
restore_opts {
|
||||||
|
Loading…
Reference in New Issue
Block a user