Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cats: make `bvfs_update` take archive jobs into consideration
- Loading branch information
Showing
6 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...tests/ai-consolidate-ignore-duplicate-job/etc/bareos/bareos-dir.d/job/virtualfull.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Job { | ||
Name = "VirtualLongtermFull" | ||
Client = bareos-fd | ||
FileSet = SelfTest | ||
Type = Backup | ||
Level = VirtualFull | ||
Pool = AI-Consolidated | ||
Messages = Standard | ||
|
||
Priority = 13 # run after Consolidate | ||
Run Script { | ||
console = "update jobid=%i jobtype=A" | ||
Runs When = After | ||
Runs On Client = No | ||
Runs On Failure = No | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ Pool { | |
Label Format = "AI-Consolidated-" | ||
Volume Use Duration = 23h | ||
Storage = File | ||
Next Pool = AI-Longterm | ||
} |
11 changes: 11 additions & 0 deletions
11
...s/tests/ai-consolidate-ignore-duplicate-job/etc/bareos/bareos-dir.d/pool/AI-Longterm.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Pool { | ||
Name = AI-Longterm | ||
Pool Type = Backup | ||
Recycle = yes # Bareos can automatically recycle Volumes | ||
Auto Prune = yes # Prune expired volumes | ||
Volume Retention = 1 days # How long should jobs be kept? | ||
Maximum Volume Bytes = 1G # Limit Volume size to something reasonable | ||
Label Format = "AI-Longterm-" | ||
Volume Use Duration = 23h | ||
Storage = File | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters