Bacula-users

Re: [Bacula-users] Best way to backup simultaneously

2009-03-20 10:03:42
Subject: Re: [Bacula-users] Best way to backup simultaneously
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Fri, 20 Mar 2009 06:56:38 -0700
Jason Dixon wrote:
> On Fri, Mar 20, 2009 at 03:51:58AM -0700, Kevin Keane wrote:
>   
>> Jason Dixon wrote:
>>     
>>> On Thu, Mar 19, 2009 at 06:08:23PM -0700, Kevin Keane wrote:
>>>   
>>>       
>>>> Jason Dixon wrote:
>>>>     
>>>>         
>>>>> I've tried that.  But since the scheduled OS backup jobs are already
>>>>> running, the client-initiated transaction log jobs are forced to wait. 
>>>>>           
>>>> Then you probaby still had a Maximum Concurrent Jobs = 1 setting somewhere.
>>>>         
>>> The only place I have "Maximum Concurrent Jobs = 1" are for the OS
>>> backups.  The database and transaction log jobs all use "Maximum
>>> Concurrent Jobs = 10".
>>>       
>> As long as they both go to the same storage, that one single Maximum 
>> Concurrent Jobs will block the other backups.
>>     
>
> They don't.  Previously, the OS backups and the log backups each had
> their own pool on the same storage device (tape drive).  Recently, the
> OS backups have used their own pool on a File device instead.  It has
> made no difference.
>   
Also keep in mind that when you don't specify a Maximum Concurrent Job 
somewhere, it may have defaulted to 1.

You can actually see whether that is the problem. In bconsole, when you 
do a "stat dir" while the log job is waiting for the storage device, it 
will tell you why it is waiting. You can also do a "stat storage" to 
find out more details.
> I have one question here which should clarify a lot.  I've been unable
> to find it anywhere in the documentation.  Can the Storage Daemon write
> to devices using different pools at the same time?  Example:
>
> client 1 -> job 1 -> bacula-sd -> pool 1 -> media
> client 2 -> job 2 -> bacula-sd -> pool 2 -> media
>
> If this can be done simultaneously, then I'm doing something wrong.  If
> it can't, I just need to know this so I can focus on getting a 2nd
> Storage Daemon running for the OS jobs to FileStorage.
>   
It's actually a bit different. Pool and storage resources are managed by 
the director, not the SD.

client1 -> job1 -> pool1/storage resource1 -> bacula-sd -> media1
client2 -> job2 -> pool2/storage resource2 -> bacula-sd -> media2

That should work. I have had two concurrent backups going to two 
different media at the same time.

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users