Thx. I have found this website: http://www.bacula.org/manuals/en/utility/utility/Volume_Utility_Tools.html#SECTION00270000000000000000
and it works with bscan! Cheers Le 02/04/2013 10:59, Ken Barclay a écrit : > I'm not an expert, but this has worked for me in the past: > > bscan -s -m -c /etc/bacula/bacula-sd.conf -v -V FSI-LES /dev/nst0 > > Good luck! > > > -----Original Message----- > From: giggzounet [mailto:giggzou...@gmail.com] > Sent: Tuesday, 2 April 2013 3:14 PM > To: bacula-users@lists.sourceforge.net > Subject: [Bacula-users] How can I restore the data on a tape which I remove > from the catalog ? > > Hi, > > I'm a newbie with bacula...I have saved data on a tape. Then remove the tape > from the library. and then I delete the volume from the catalog...Now I > would like to restore the data which are on the tape. > How can I do that ? > > "restore" does not work. > I'm trying bscan, but for the moment it does not work: > [09:56:49] root@master ~ # bscan -c /etc/bacula/bacula-sd.conf -v -V FSI-LES > /dev/nst0 > bscan: butil.c:281 Using device: "/dev/nst0" for reading. > 02-Apr 09:58 bscan JobId 0: Invalid slot=0 defined in catalog for Volume > "FSI-LES" on "LTO-5" (/dev/nst0). Manual load may be required. > 02-Apr 09:58 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" > command. > 02-Apr 09:58 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is > Slot 46. > 02-Apr 09:58 bscan JobId 0: Ready to read from volume "FSI-LES" on device > "LTO-5" (/dev/nst0). > bscan: bscan.c:308 Using Database: bacula, User: bacula > bscan: bscan.c:450 Pool record for Scratch found in DB. > bscan: bscan.c:464 Pool type "Backup" is OK. > bscan: bscan.c:482 VOL_LABEL: Media record not found for Volume: FSI-LES > bscan: bscan.c:492 Media type "LTO5" is OK. > bscan: bscan.c:502 VOL_LABEL: OK for Volume: FSI-LES > bscan: bscan.c:526 SOS_LABEL: Job record not found for JobId: 0 > > > Any ideas ? > > Best regards, > Guillaume > > > ---------------------------------------------------------------------------- > -- > Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in > Intel's independent game demo contest. Compete for recognition, cash, and > the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. > http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users