Hello, On 12/12/2006 3:25 PM, Thomas Glatthor wrote: > Hi List, > > we have two autochanger, booth changers using "SDLT-320" as MediaType. > version of bacula is 1.38.11.
Ok, problem understood :-) > running a restore: > >>The job will require the following Volumes: >> INC008 >> >>Run Restore job >>JobName: RestoreFiles >>Storage: Overland1 >>When: 2006-12-12 12:42:19 >>OK to run? (yes/mod/no): > > > Volume INC008 is at Overland2/Slot 2 (the DefaultRestoreJob specifies > Overland1). > Why does bacula not automatically select Overland2 as Storage? Well, it can't :-) 1.39, as far as I know, can better handle such a situation. But in fact you found why you should really use different media types for devices that can not (easily) share media. > When i start the job with the "wrong" storage, this happens: > >>12-Dec 12:44 backup-sd-gs: RestoreFiles.2006-12-12_12.43.17 Warning: >>acquire.c:146 Wrong Volume mounted on device "JBGS-1" (/dev/nst0): >>Wanted INC008 have INC002 > > bacula loads Slot2 from Overland1, why? > the MediaTable shows INC008 at Overland2/Slot 2 and INC002 at > Overland1/Slot 2. > it's a little bit useless to load slot 2 from the wrong changer. > > >>12-Dec 12:44 backup-sd-gs: Please mount Volume "INC008" on Storage >>Device "JBGS-1" (/dev/nst0) for Job RestoreFiles.2006-12-12_12.43.17 > > this message is ok, i have wrongly specified Overland1 as storage in the > RestoreJob, bacula did not automatically select Overland2 > and so it want to have the needed volume at Overland1. > > Is there any way to automatically select the correct storage, when the > mediatable shows the tape in one of the storages? Well, it might be time to ply with 1.39.wherever-we-are-today for you and test this... I'm sure Kern would be interested in the results of your tests. As far as I know, there's a better chance for this to work as it should in 1.39. Arno > Regards > Thomas > > btw. i need something like a column "location" in the Media-Table, can i > simply add one, or will this cause troubles with future bacula-updates? > currently possible locations of my tapes are: > Overland1/Overland2/Safe1/Safe2 and Offsite, and i want to handle this > inside of bacula. > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users