I just noticed in the configuration example below that "Autochanger = yes" is missing from bacula-dir.conf.
When I first set up Bacula a while ago I had problems with that as soon as I tried to label tapes -- it didn't ask me for a slot number, because the director didn't know it was dealing with an autochanger despite the fact that I had specified it in bacula-sd.conf. It has to be in both bacula-sd.conf and bacula-dir.conf. As long as you have Autochanger = yes in BOTH locations, Bacula handles barcodes automatically through the mtx-changer script, and you can label your tapes accoding to their barcodes using the "label barcodes" command. Hope that helps! -Ryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carles Bou Sent: Friday, July 01, 2005 8:43 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Re: Supperted autochanger Hi, Romain. There's nothing special to do for barcodes. in bacula-dir: ... ... Storage { Name = PowerVault-122T Address = Host_name SDPort = 9103 Password = "..." Device = PowerVault-122T Media Type = DLT4 } ... ... in bacula-sd: ... ... Device { Name = PowerVault-122T Media Type = DLT4 Archive Device = /dev/nst0 Changer Device = /dev/sg1 Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" Autochanger = yes LabelMedia = no; AutomaticMount = no; AlwaysOpen = no; } ... ... output for mtx -f /dev/sg1 status: Storage Changer /dev/sg1:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = 000122 Storage Element 1:Full :VolumeTag=000121 Storage Element 2:Full :VolumeTag=000120 Storage Element 3:Empty:VolumeTag=000122 Storage Element 4:Full :VolumeTag=000134 Storage Element 5:Full :VolumeTag=000136 Storage Element 6:Full :VolumeTag=000113 Storage Element 7:Full :VolumeTag=000138 Storage Element 8:Full :VolumeTag=000137 labeling tapes with barcode: in bacula console tape: label barcodes that's all! Romain wrote: >>i'm actualy running bacula with a Dell PowerVault 122T (DLT4 drive) >>without any problems >> > > > As I only use hard disks for backup, I can't help you to resolve your problem. > > So I write you to know if you could send me the part of your > configuration files dealing with the PowerVault configuration. I will > have to study the possibility to use DLT for other backups and I don't > understand how to manage barcodes. (I am a beginner in backups) > > Furthermore we are very "linked" with Dell in my firm... > > Regards, > Romain > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users