]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-dir-migration.conf.in
ebl Add sleep in vtape changer to simulate real hardware
[bacula/bacula] / regress / scripts / bacula-dir-migration.conf.in
index 5100cd1e9dafa30ad41ea524adb4c780fe943776..5c35fe686da0af7f4124c1b24b33d026512f24b4 100644 (file)
@@ -37,6 +37,7 @@ Job {
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
   Maximum Concurrent Jobs = 4
   SpoolData = yes
+  Allow Duplicate Jobs = No
 # Prefer Mounted Volumes = no
 }
 
@@ -53,6 +54,7 @@ Job {
   Maximum Concurrent Jobs = 4
   Selection Type = Job 
   Selection Pattern = ".*Save"
+  Allow Duplicate Jobs = No
 }
 
 Job {
@@ -68,6 +70,22 @@ Job {
   Maximum Concurrent Jobs = 4
   Selection Type = Volume
   Selection Pattern = "File*"
+  Allow Duplicate Jobs = No
+}
+
+Job {
+  Name = "copy-uncopied"
+  Type = Copy
+  Level = Full
+  Client=@hostname@-fd 
+  FileSet="Full Set"
+  Messages = Standard
+  Storage = DiskChanger
+  Write Bootstrap = "@working_dir@/migratevol.bsr"
+  Pool = Default
+  Maximum Concurrent Jobs = 4
+  Selection Type = PoolUncopiedJobs
+  Allow Duplicate Jobs = No
 }
 
 Job {
@@ -82,6 +100,7 @@ Job {
   Pool = Default
   Maximum Concurrent Jobs = 4
   Selection Type = PoolOccupancy
+  Allow Duplicate Jobs = No
 }
 
 Job {
@@ -96,6 +115,7 @@ Job {
   Pool = Default
   Maximum Concurrent Jobs = 4
   Selection Type = PoolTime
+  Allow Duplicate Jobs = No
 }
 
 
@@ -222,6 +242,19 @@ Pool {
   Migration Time = 1
 }
 
+Pool {
+  Name = Special
+  Pool Type = Backup
+  Recycle = yes                       # Bacula can automatically recycle Volumes
+  AutoPrune = yes                     # Prune expired volumes
+  Volume Retention = 365d             # one year
+  NextPool = Full
+  Storage = File
+  Migration High Bytes = 40M
+  Migration Low Bytes = 20M
+  Migration Time = 5h
+}
+
 Pool {
   Name = Full
   Pool Type = Backup
@@ -236,4 +269,5 @@ Pool {
   Recycle = yes
   AutoPrune = yes
   Pool Type = Scratch
+  RecyclePool = Scratch
 }