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_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to