Daniel,

First, thanks for the very fast reply.

I must admit I am new to bacula, so I must be missing something but 
my understanding is such: While one _can_ define several "Device"s in
one storage daemon configuration, I cannot see how can you specify
which exact device to use in a given "Job" specification since for
"Job"s one only can point to a "Storage" resource, which is the name
of a storage daemon (that _might_ have different devices attached,
true).

So, the question is: If I specifiy all devices in a single storage
daemon config file, how to I select a specific device/media type to be
used in a job specification ?

Thanks again,

Florian

On 12/7/05, Daniel Holtkamp <[EMAIL PROTECTED]> wrote:
> Hi !
>
> Florian Daniel Otel wrote:
> > AFAIU that does not seem possible and it seems that I need to run one
> > storage daemon per device/media type.
>
> Uh, we use one SD that controls LOTS of disk-based devices and 3 LTO
> Tape devices. No problems here. Here a little excerpt:
>
> ---------- bacula-sd.conf -----------------
>
> ## TAPE BACKUP LOCATIONS !
> Device {
>    Name = procars-sd
>    #Drive Index = 0
>    Media Type = procars-tape
>    Archive Device = /dev/nst1
>    AutomaticMount = yes;               # when device opened, read it
>    AlwaysOpen = yes;
>    RemovableMedia = yes;
>    RandomAccess = no;
>    Spool Directory = /var/backup/bacula/spool
>    AutoChanger = no
>    Alert Command = "sh -c '/usr/local/sbin/tapeinfo -f %c |grep
> TapeAlert|cat'"
> }
>
> Device {
>    Name = daily-sd
>    #Drive Index = 0
>    Media Type = daily-tape
>    Archive Device = /dev/nst0
>    AutomaticMount = yes;               # when device opened, read it
>    AlwaysOpen = yes;
>    RemovableMedia = yes;
>    RandomAccess = no;
>    Spool Directory = /var/backup/bacula/spool
>    AutoChanger = no
>    Alert Command = "sh -c '/usr/local/sbin/tapeinfo -f %c |grep
> TapeAlert|cat'"
> }
>
> Device {
>    Name = leibniz-sd
>    #Drive Index = 0
>    Media Type = leibniz-tape
>    Archive Device = /dev/nst2
>    AutomaticMount = yes;               # when device opened, read it
>    AlwaysOpen = yes;
>    RemovableMedia = yes;
>    RandomAccess = no;
>    Spool Directory = /var/backup/bacula/spool
>    AutoChanger = no
>    Alert Command = "sh -c '/usr/local/sbin/tapeinfo -f %c |grep
> TapeAlert|cat'"
> }
>
> # Disk Devices
> Device {
>    Name = zerberus-sd
>    Media Type = zerberus-file
>    Archive Device = /var/backup/bacula/storage_a/zerberus/
>    LabelMedia = yes;                   # lets Bacula label unlabeled media
>    Random Access = Yes;
>    AutomaticMount = yes;               # when device opened, read it
>    RemovableMedia = no;
>    AlwaysOpen = no;
> }
> ------------------- SNIP -----------------
>
> Hope that helps a little bit.
>
> --
> Daniel Holtkamp                    Riege Software International GmbH
> System Administration                                   Mollsfeld 10
> 40670 Meerbusch, Germany                     Phone: +49-2159-9148-41
> mail: holtkamp [at] riege.com                Fax:   +49-2159-9148-11
> --------------------------------------------------------------------
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to