]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: tweak store-mngr-invalid-dev-test
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Mon, 24 May 2021 22:00:09 +0000 (00:00 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:02 +0000 (09:03 +0100)
regress/tests/store-mngr-invalid-dev-test

index d3581683d36d5ed41d02d991bb815f37cd93ee1d..ad8ec8f4c449e52d67563548fe249742108c2e6f 100755 (executable)
@@ -14,13 +14,25 @@ scripts/copy-confs
 
 # Add simple job with store group
 cat <<END_OF_DATA >> $bin/bacula-dir.conf
+Pool {
+  Name = StorePool
+  Pool Type = Backup
+  Recycle = yes                       # Bacula can automatically recycle Volumes
+  AutoPrune = yes                     # Prune expired volumes
+  Volume Retention = 365 days         # one year
+  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
+  Maximum Volumes = 100               # Limit number of Volumes in Pool
+  Storage = File1, File2
+  Storage Group Policy = Listed Order
+}
+
 Job {
   Name = "StoreGroupJob"
   Type = Backup
-  JobDefs = "DefaultJob"
-  Storage = File1, File2
-  Storage Group Policy = Listed Order
-  Pool = Default
+  Messages = Standard
+  Client = VBox-fd
+  FileSet = "Full Set"
+  Pool = StorePool
   Maximum Concurrent Jobs = 10
 }
 END_OF_DATA
@@ -36,7 +48,7 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @output /dev/null
 messages
 @$out  ${cwd}/tmp/log1.out
-label volume=TestVolume002 storage=File2 pool=Default slot=1 drive=0
+label volume=TestVolume002 storage=File2 pool=StorePool slot=1 drive=0
 run job=StoreGroupJob level=Full yes
 run job=StoreGroupJob level=Full yes
 run job=StoreGroupJob level=Full yes