You will also need 1 Bacula SD device for each concurrent job and the data
must be on different volumes.

Unless you intend to keep the backups, you might find it simpler to use cpio
or tar with some temporary directory on a file server.

__Martin


>>>>> On Thu, 13 Apr 2023 09:51:13 +0000, Yateen Shaligram Bhagat (Nokia) said:
> 
> Thanks Bill, that helps.
> 
> There is a reason why we ned to run  multiple restore jobs concurrently.
> 
> We are migrating our computing env (few hundred hosts) to a different  
> flavour of Linux. 
> Prior to migration we need to do data backup and then restore it back. 
> 
> If we go sequentially using one single RestoreFiles job, it is going to be a 
> lengthy exercise.
> 
> Anyway I will try defining and running multiple restore jobs.
> 
> Regards,
> Yateen 
> 
> -----Original Message-----
> From: Bill Arlofski via Bacula-users <bacula-users@lists.sourceforge.net> 
> Sent: Wednesday, April 12, 2023 9:17 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Multiple Restore jobs
> 
> 
> CAUTION: This is an external email. Please be very careful when clicking 
> links or opening attachments. See the URL nok.it/ext for additional 
> information.
> 
> 
> 
> 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
> 
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to