Bacula-users

Re: [Bacula-users] multiple jobs simultaneous pools

2011-07-18 09:34:19
Subject: Re: [Bacula-users] multiple jobs simultaneous pools
From: John Drescher <drescherjm AT gmail DOT com>
To: ninyo <ninyodios AT gmail DOT com>
Date: Mon, 18 Jul 2011 09:32:24 -0400
2011/7/18 ninyo <ninyodios AT gmail DOT com>:
> Maybe, but i dont know how can it help me, because i already have a tape
> autoloader. This is my config for storage:
> bacula-sd.conf
> ##############
> Autochanger {
>   Name = Autochanger
>   Device = Drive-1
>   Device = Drive-2
>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/changer
> }
> Device {
>   Name = Drive-1                      #
>   Drive Index = 0
>   Media Type = LTO-3
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>   #If you have smartctl, enable this, it has more info than tapeinfo
>   Alert Command = "sh -c 'smartctl -H -l error %c'"
>   Maximum Concurrent Jobs = 1
> }
> Device {
>   Name = Drive-2                      #
>   Drive Index = 1
>   Media Type = LTO-3
>   Archive Device = /dev/nst1
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   # Enable the Alert command only if you have the mtx package loaded
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>   #If you have smartctl, enable this, it has more info than tapeinfo
>   Alert Command = "sh -c 'smartctl -H -l error %c'"
>   Maximum Concurrent Jobs = 1
> }
> storage.conf
> ###########
> Storage {
>   Name = Cinta
>   Address = xxxx
>   SDPort = 9103
>   Password = "xxx"
>   Device = Autochanger
>   Media Type = LTO-3
>   Autochanger = yes
>   Maximum Concurrent Jobs = 2
> }
>

You also need to set Maximum Concurrent Jobs in bacula-dir.conf. Again
for the director, storage and client.

John

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users