Not sure if I understood the Autochanger device resource correctly.  Can I combine two devices into a "virtual" autochanger?  I'm hoping that the backup will continue on to the second drive when the first tape is full.

I have two similar sized DAT tape devices which I've put into Autochanger resource definition:

>From the bacula-dir.conf

Autochanger {
  Name = DDS-3
  Device = tape1
  Device = tape2
  Changer Device = /dev/sg0
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
}

Device {
  Name = tape1
  Media Type = DDS-3
  Drive Index = 0
  Autochanger = yes
  Archive Device = /dev/st0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
}

Device {
  Name = tape2
  Media Type = DDS-3
  Archive Device = /dev/st1
  Drive Index = 1
  Autochanger = yes
  AutomaticMount = yes
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
}

The bacula-dir.conf storage definition:
Storage {
  Name = DDS-3
  Address = localhost
  SDPort = 9103
  Password = "somepassword" 
  Device = DDS-3
  Media Type = DDS-3 
  Autochanger=yes
}

Should this work as I expect?

Thanks!

Scott Syms
Halifax, NS

Reply via email to