}
Job {
- Name = "migrate"
+ Name = "migrate-job"
Type = Migrate
Level = Full
Client=@hostname@-fd
FileSet="Full Set"
Messages = Standard
Storage = DiskChanger
- Write Bootstrap = "@working_dir@/migrate.bsr"
+ Write Bootstrap = "@working_dir@/migratejob.bsr"
Pool = Default
Maximum Concurrent Jobs = 4
Selection Type = Job
Selection Pattern = ".*Save"
}
+Job {
+ Name = "migrate-volume"
+ Type = Migrate
+ 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 = Volume
+ Selection Pattern = "File*"
+}
+
+Job {
+ Name = "migrate-occupancy"
+ Type = Migrate
+ Level = Full
+ Client=@hostname@-fd
+ FileSet="Full Set"
+ Messages = Standard
+ Storage = DiskChanger
+ Write Bootstrap = "@working_dir@/migratejob.bsr"
+ Pool = Default
+ Maximum Concurrent Jobs = 4
+ Selection Type = PoolOccupancy
+}
+
+Job {
+ Name = "migrate-time"
+ Type = Migrate
+ Level = Full
+ Client=@hostname@-fd
+ FileSet="Full Set"
+ Messages = Standard
+ Storage = DiskChanger
+ Write Bootstrap = "@working_dir@/migratejob.bsr"
+ Pool = Default
+ Maximum Concurrent Jobs = 4
+ Selection Type = PoolTime
+}
+
+
+
+
# Standard Restore template, to be changed by Console program
Job {
Name = "RestoreFiles"
SDPort = 8103
Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
Device = DiskChanger # must be same as Device in Storage daemon
- Media Type = DiskChanger # must be same as MediaType in Storage daemon
+ Media Type = DiskChangerMedia # must be same as MediaType in Storage daemon
Maximum Concurrent Jobs = 4
Autochanger = yes
}
# Generic catalog service
Catalog {
Name = MyCatalog
- dbname = bacula; user = bacula; password = ""
+ dbname = regress; user = regress; password = ""
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
- mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
- operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
+ mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
+ operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
MailOnError = @job_email@ = all, !terminate
operator = @job_email@ = mount
console = all, !skipped, !terminate, !restored
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
- mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
+ mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
mail = @job_email@ = all, !skipped
console = all, !skipped, !saved
append = "@working_dir@/log" = all, !skipped
Volume Retention = 365d # one year
NextPool = Full
Storage = File
+ Migration High Bytes = 40M
+ Migration Low Bytes = 20M
+ Migration Time = 60
}
Pool {