I've just started to use Bacula at our site and I've tried to find the
answer to this question in the manual and in the list archives, but I
haven't had any luck, so I thought I'd try posting to the list myself.
Please point me to the appropriate place if this has already been
answered.  I'm running version 1.38.0 on Fedora Core 4.  I'm running one
director and one storage daemon.  The definitions of the storage are
below.

I have 2 8-tape DDS-4 autochangers each of which has one drive.  I was
originally using bacula with just one of these autochangers and
everything worked well except that a full backup took 9-10 tapes so I
couldn't run it completely unattended.  Now I've moved more clients over
to use bacula along with the second autochanger and I'd like bacula to
be able to use tapes from both autochangers during the full backup.  I
have 2 pools of tapes, one for full backups and one for differentials
and ideally it wouldn't matter if I mixed tapes from both pools in a
single autochanger.

>From reading the manual, it seems that I need to specify a particular
Storage for each job and since each Storage maps to a single
autochanger, I haven't been able to say "just use any DDS-4 capable
device and find the tape you want"

Have I missed something in my search?  Is this currently possible with
bacula or should I just split up my clients to use one or the other of
the changers?

Thanks for your help.

-- 
Reggie Dugard <[EMAIL PROTECTED]>
Merfin, LLC

*** From bacula-dir.conf:

Storage {
  Name = Sony
  Address = hare.merfinllc.com
  SDPort = 9103
  Password = "xx"
  Device = Sony
  Media Type = DDS-4
  Autochanger = yes
}

Storage {
  Name = Dell
  Address = hare.merfinllc.com
  SDPort = 9103
  Password = "xx"
  Device = Dell
  Media Type = DDS-4
  Autochanger = yes
}

*** From bacula-sd.conf:

Autochanger {
  Name = TSL-11000
  Device = Sony
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg1
}

Device {
  Name = Sony
  Media Type = DDS-4
  Archive Device = /dev/nst0
  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'"
}

Autochanger {
  Name = DellChanger
  Device = Dell
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg3
}

Device {
  Name = Dell
  Media Type = DDS-4
  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'"
}





-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to