Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread Martin Simmons
 On Thu, 10 Dec 2009 15:51:13 -0500, Glen Barber said:
 
 Hello,
 
 I'm running Bacula version 2.4.3 on a machine with a single tape
 drive, and on occasion the tape will become full overnight.  'status
 dir' shows the following:
 
 server1.-MM-DD_HH.MM.SS is waiting on max Storage jobs
 
 Since the machine has plenty of space to spool the data, I'd like to
 continue to spool to disk when the tape is full so despooling to tape
 can take place when the tape is changed.
 
 I have the following Maximum Concurrent Jobs set:
 
 bacula-dir.conf:   Maximum Concurrent Jobs = 1
 bacula-sd.conf:   Maximum Concurrent Jobs = 30
 
 If I understand the documentation correctly, raising dir.conf Maximum
 Concurrent Jobs will interleave multiple backups to tape, which I want
 to avoid.  Is there something obvious I've missed in the
 documentation, or is Bacula expected to stop spooling to disk when the
 tape is full?

The latter -- it stops because it can't simultaneously read and write the
spool file.

__Martin

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread Glen Barber
Hi Martin,

On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote:

 If I understand the documentation correctly, raising dir.conf Maximum
 Concurrent Jobs will interleave multiple backups to tape, which I want
 to avoid.  Is there something obvious I've missed in the
 documentation, or is Bacula expected to stop spooling to disk when the
 tape is full?

 The latter -- it stops because it can't simultaneously read and write the
 spool file.


That makes sense.  Thanks for the explanation.



-- 
Glen Barber

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread John Drescher
On Fri, Dec 11, 2009 at 4:13 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 Hi Martin,

 On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote:

 If I understand the documentation correctly, raising dir.conf Maximum
 Concurrent Jobs will interleave multiple backups to tape, which I want
 to avoid.  Is there something obvious I've missed in the
 documentation, or is Bacula expected to stop spooling to disk when the
 tape is full?

 The latter -- it stops because it can't simultaneously read and write the
 spool file.


Is simultaneous spooling / despooling in bacula yet? I thought that
was not yet implemented.

What I have seen is if there is no appendable volume in the device
(and its not an autochanger that can load new volumes) the next time
it needs to spool will be blocked.

John

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread Glen Barber
Hi John,

On Fri, Dec 11, 2009 at 4:26 PM, John Drescher dresche...@gmail.com wrote:
 On Fri, Dec 11, 2009 at 4:13 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 Hi Martin,

 On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote:

 If I understand the documentation correctly, raising dir.conf Maximum
 Concurrent Jobs will interleave multiple backups to tape, which I want
 to avoid.  Is there something obvious I've missed in the
 documentation, or is Bacula expected to stop spooling to disk when the
 tape is full?

 The latter -- it stops because it can't simultaneously read and write the
 spool file.


 Is simultaneous spooling / despooling in bacula yet? I thought that
 was not yet implemented.


I don't necessarily mean simultaneous - in my scenario, the
despooling was not possible.

 What I have seen is if there is no appendable volume in the device
 (and its not an autochanger that can load new volumes) the next time
 it needs to spool will be blocked.


Bacula is capable of only one spool file, it seems?

I suppose a more specific question would be can I have Bacula close a
spool file if it cannot despool, and write to tape when it is
available?

Regards,

-- 
Glen Barber

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread John Drescher
On Fri, Dec 11, 2009 at 5:52 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 Hi John,

 On Fri, Dec 11, 2009 at 4:26 PM, John Drescher dresche...@gmail.com wrote:
 On Fri, Dec 11, 2009 at 4:13 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 Hi Martin,

 On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com 
 wrote:

 If I understand the documentation correctly, raising dir.conf Maximum
 Concurrent Jobs will interleave multiple backups to tape, which I want
 to avoid.  Is there something obvious I've missed in the
 documentation, or is Bacula expected to stop spooling to disk when the
 tape is full?

 The latter -- it stops because it can't simultaneously read and write the
 spool file.


 Is simultaneous spooling / despooling in bacula yet? I thought that
 was not yet implemented.


 I don't necessarily mean simultaneous - in my scenario, the
 despooling was not possible.

 What I have seen is if there is no appendable volume in the device
 (and its not an autochanger that can load new volumes) the next time
 it needs to spool will be blocked.


 Bacula is capable of only one spool file, it seems?

 I suppose a more specific question would be can I have Bacula close a
 spool file if it cannot despool, and write to tape when it is
 available?


Looks like that is item #14 on the projects list.

http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD

If you do not know the projects list is a list of submitted feature
requests that generally get voted on before each major release and the
results of the vote steer the developers on what is most important to
users.

John

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread Glen Barber
On Fri, Dec 11, 2009 at 6:01 PM, John Drescher dresche...@gmail.com wrote:

 Bacula is capable of only one spool file, it seems?

 I suppose a more specific question would be can I have Bacula close a
 spool file if it cannot despool, and write to tape when it is
 available?


 Looks like that is item #14 on the projects list.

 http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD


Ah, yes that does look like what I am looking for.

 If you do not know the projects list is a list of submitted feature
 requests that generally get voted on before each major release and the
 results of the vote steer the developers on what is most important to
 users.


That is good to know.  Thanks for the quick reply!


-- 
Glen Barber

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Continue to spool to disk when tape is full?

2009-12-11 Thread Andrea Conti
 If I understand the documentation correctly, raising dir.conf Maximum
 Concurrent Jobs will interleave multiple backups to tape, which I want
 to avoid.

Not if you use data spooling.

 Bacula is capable of only one spool file, it seems?

Each job is spooled to a separate file, which is deleted as soon as the
job is completely despooled.

 I suppose a more specific question would be can I have Bacula close a
 spool file if it cannot despool, and write to tape when it is
 available?

AFAIK Bacula will not start a job unless it can mount a suitable volume,
even if the job is configured to use data spooling.

However, if you have multiple jobs and enable concurrency, you can start
a batch of spooled jobs at the same time (ie when the tape is empty);
completed jobs will then be despooled one at a time.
In this scenario a blocked drive will only halt despooling: incomplete
jobs will keep spooling until they are all finished or the configured
spool size limit is reached.

andrea

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Continue to spool to disk when tape is full?

2009-12-10 Thread Glen Barber
Hello,

I'm running Bacula version 2.4.3 on a machine with a single tape
drive, and on occasion the tape will become full overnight.  'status
dir' shows the following:

server1.-MM-DD_HH.MM.SS is waiting on max Storage jobs

Since the machine has plenty of space to spool the data, I'd like to
continue to spool to disk when the tape is full so despooling to tape
can take place when the tape is changed.

I have the following Maximum Concurrent Jobs set:

bacula-dir.conf:   Maximum Concurrent Jobs = 1
bacula-sd.conf:   Maximum Concurrent Jobs = 30

If I understand the documentation correctly, raising dir.conf Maximum
Concurrent Jobs will interleave multiple backups to tape, which I want
to avoid.  Is there something obvious I've missed in the
documentation, or is Bacula expected to stop spooling to disk when the
tape is full?

Regards,

-- 
Glen Barber

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users