On 4/11/23 20:46, Yateen Shaligram Bhagat (Nokia) wrote:
Hi all,The default bacula-dir.conf provided with new Bacula installation has only one RestoreFile job defined. This was sufficient for us till now, but at the moment there is need to run multiple Restore jobs simultaneously. Can we achieve this by defining multiple Restore jobs? Thanks Yateen Bhagat
Hello Yateen, The Restore job (Type = Restore) provided is an example/template of a Restore job. You only need one, but you can have as many as you want/need. The only time I ever create more than one is when I have one for Linux restores and one for Windows restores where I typically only change the `where =` setting. For example, for Windows restores, I might set: where = "C:/temp" and for Linux, I might have where = /tmp This just saves a small amount of typing when doing a restore. If you need to run multiple concurrent restore jobs, you *may* need to set `MaximumConcurrentJobs = x` where x is something greater than 1. I am not 100% sure about this, it has been a while since I touched the Restore job template I use here, and mine currently has `MaximumConcurrentJobs = 10` so I have a suspicion this is correct. :) Also, you will never actually "Run" Jobs of `Type = restore`... You just type `restore` and if you have more than one job of Type = restore, you will be prompted for the one you want to use. You can also specify it on the command line and you will not be promted: * restore restorejob=LinuxRestore_job Hope this helps, Bill -- Bill Arlofski w...@protonmail.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users