Hi Bill,

You are correct,, I can see the MaximumConcurrentJobs limitation, see the 
"status dir" output from bconsole below:
So how to we enhance this limit for the Restore jobs

Connecting to Director bacula-server:9101
1000 OK: 103 bacula-server-dir Version: 9.4.4 (28 May 2019)
Enter a period to cancel a command.
status dir
bacula-server-dir Version: 9.4.4 (28 May 2019) x86_64-redhat-linux-gnu-bacula 
redhat  
Daemon started 10-Apr-23 16:35, conf reloaded 14-Apr-2023 14:32:33
 Jobs: run=3557, running=7 mode=0,0
 Heap: heap=6,049,792 smbytes=88,029,733 max_bytes=116,303,584 bufs=498,248 
max_bufs=501,721
 Res: njobs=947 nclients=533 nstores=21 npools=83 ncats=1 nfsets=91 nscheds=34

Scheduled Jobs:
Level          Type     Pri  Scheduled          Job Name           Volume  
===================================================================================
====

Running Jobs:
Console connected at 10-Apr-23 16:41
Console connected at 12-Apr-23 11:39
JobId  Type Level     Files     Bytes  Name              Status  
======================================================================
411391  Back Incr          0         0  varunama is waiting for Client to 
connect to Storage userStorageF
411399  Back Incr         14    370.0 M mmadhavi is running 
411410  Back Incr          0         0  a10a is waiting for Client to connect 
to Storage userStorageE
411419  Back Incr          0         0  naha is waiting for Client to connect 
to Storage userStorageB
411421  Back Incr          0         0  satyprak is running 
411455  Rest Rest     21,701    6.108 G RestoreFiles      is running 
411456  Rest Rest          0         0  RestoreFiles      is waiting on max Job 
jobs
====

Terminated Jobs:
 JobId  Level      Files    Bytes   Status   Finished        Name    
====================================================================

====
You have messages.

Thanks 
Yateen

-----Original Message-----
From: Bill Arlofski <w...@protonmail.com> 
Sent: Thursday, April 13, 2023 7:43 PM
To: Yateen Shaligram Bhagat (Nokia) <yateen.shaligram_bha...@nokia.com>; 
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Multiple Restore jobs

On 4/13/23 03:51, Yateen Shaligram Bhagat (Nokia) wrote:
> 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.

Yateen,

Again, you only need *one* Restore Job defined, even if you are going to run 
1,000 restores at the same time.

Show us the problem you are experiencing so we can direct you to the right 
solution.

I am guessing you are more than likely running into some 
"MaximumConcurrentJobs" bottleneck somewhere.

I mean, show us a Director that is running (or trying to run) multiple restore 
jobs at the same time:

* status dir


Best regards,
Bill

--
Bill Arlofski
waa@pro
tonmail.com


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

Reply via email to