Hi all,

We're using bareos-19.2 and are backing up servers to one storage device.
We have set up a maximum of 4 concurrent running backup jobs and this works 
fine.

Sometimes we need to urgently restore something while 4 backup jobs are 
running and other backup jobs have been queued.

In our current setup, when I schedule a restore job, it waits until all 4 
running jobs are finished, then execute the restore job and then continues 
with the other queued backup jobs. Snippet of configuration:

Storage configuration in director:

Storage {
Name = store1
Address = 172.20.36.21
Password = "secret"
Device = store1
Media Type = File
Maximum Concurrent Jobs = 4
}
Storage {
Name = restore
Address = 172.20.36.21
Password = "secret
Device = restore
Media Type = File
}

Device definition on storage daemon:

Device {
  Name = restore
  Media Type = File
  Archive Device = /backup/bareos-store1
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
  Spool Directory = /backup/bareos-spool
  Maximum Spool Size = 100g
}
Device {
  Name = store1
  Media Type = File
  Archive Device = /backup/bareos-store1
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
  Description = "Bareos store1: Almere outside openstack"
  Spool Directory = /backup/bareos-spool
  Maximum Spool Size = 100g
  Maximum Concurrent Jobs = 4
}

All backup jobs use the 'store1' storage device
The restore job uses the 'restore' storage device. Restore job definition:
Job {
  Name = "Restore"
  Type = Restore
  Client = prd-mgmt-bareosstore1
  Storage = restore
  Pool = daily
  Fileset = "restore"
  Messages = Standard
  Allow Mixed Priority = yes
  Priority = 5
  Where = /tmp/bareos-restore
}

There is no storage defiined in any pool config (there was, but I removed 
it from the pool definition and reloaded bareos director)

In the log of the restore job I still see that the 'store1' device is used, 
which explains why it will wait, but why does the restore job not use the 
'restore' device as I have set in the job definition?

Is it possible to create a restore job that will be executed immediately?

Thanks in advance!
/Jurgen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/a0605ba4-2612-4b62-9a34-40ba3f8afd93n%40googlegroups.com.

Reply via email to