i have to add -m -s. Now list media shows the old Tape :) thanks
On 27.05.2011 15:36, John Drescher wrote: > On Fri, May 27, 2011 at 9:27 AM, Tobias Dinse > <tobias.di...@stegbauer.info> wrote: >> I want to Import an old tape to our new Backup Server. >> >> Now I executed the follow line on the old Server(target database is from the >> new server): >> >> bscan -n bacula -u bacula -P xxxxx -h 192.168.xxx.xxx -c bacula-sd.conf >> /dev/tape/by-path/pci-0000:08:08.0-scsi-0:0:1:0-nst-nst -V DIHP01 >> >> bscan: butil.c:281 Using device: >> "/dev/tape/by-path/pci-0000:08:08.0-scsi-0:0:1:0-nst-nst" for reading. >> 27-May 15:19 bscan JobId 0: Invalid slot=0 defined in catalog for Volume >> "DIHP01" on "IBM-LTO2" >> (/dev/tape/by-path/pci-0000:08:08.0-scsi-0:0:1:0-nst-nst). Manual load may >> be required. >> 27-May 15:19 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" >> command. >> 27-May 15:19 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is >> Slot 2. >> 27-May 15:19 bscan JobId 0: Ready to read from volume "DIHP01" on device >> "IBM-LTO2" (/dev/tape/by-path/pci-0000:08:08.0-scsi-0:0:1:0-nst-nst). >> bscan: bscan.c:482 VOL_LABEL: Media record not found for Volume: DIHP01 >> bscan: bscan.c:502 VOL_LABEL: OK for Volume: DIHP01 >> bscan: bscan.c:526 SOS_LABEL: Job record not found for JobId: 0 >> bscan: bscan.c:1006 Could not get Client record. ERR=Client record not found >> in Catalog. >> > I have not seen that error when I have used bscan however it looks > like you need to add the old client to your bacula-dir.conf and reload > the bacula-dir configuration before the bscan. > > john > > John ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users