> 
> On Wednesday 30 March 2005 12:15, Danie Theron wrote:
> > Hi ,
> >
> > Used bcopy to copy one volume to one offsite disk and got the 
> > following
> >
> >
> >  bcopy /arch/mailx3/mailx3full-0001 /offsite1/mailx3/mailx3full-0001
> > bcopy: butil.c:258 Using device: "/arch/mailx3" for reading.
> > 30-Mar 12:06 bcopy: Ready to read from volume "mailx3full-0001" on 
> > device /arch/mailx3.
> > bcopy: butil.c:258 Using device: "/offsite1/mailx3" for writing.
> > 30-Mar 12:06 bcopy: bcopy Error: Requested Volume 
> "mailx3full-0001" on
> > /offsite1/mailx3 is not a Bacula labeled Volume, because:
> > ERR=block.c:793 Read zero bytes at 0:0 on device /offsite1/mailx3.
> > 30-Mar 12:06 bcopy: Volume "mailx3full-0001" previously written, 
> > moving to end of data.
> > bcopy: bcopy.c:218 Volume label not copied.
> > 30-Mar 12:11 bcopy: End of Volume at file 3 on device /arch/mailx3, 
> > Volume "mailx3full-0001"
> > 30-Mar 12:11 bcopy: End of all volumes.
> > bcopy: bcopy.c:245 EOT label not copied.
> > bcopy: bcopy.c:183 1 Jobs copied. 475581 records copied.
> >
> > Read up on the bcopy options and it seems I will need to bscan the 
> > volume back into the catalog? Can't I just specify the 
> bootstrap file 
> > to ensure correct restore of an offsite volume?
> 
> This is an interesting question, and the answer is no, you 
> cannot use a bootstrap file generated against one tape to 
> restore a different tape because there is no guarantee that 
> the layout of the files on the two tapes is the same.
> 
> bcopy has not been used much, so if you intend to restore 
> from bcopy'ed tapes, I'd recommend that you try it now rather 
> than later. Feedback would be appreciated.
> 

OK , I tried the bextract command :

bextract -V rockprofilesincr-0001 /offsite1/rockprofiles/ /tmp
bextract: butil.c:254 Could not find device "/offsite1/rockprofiles/" in
config file bacula-sd.conf.
30-Mar 16:06 bextract: bextract Fatal error: butil.c:150 Cannot find
device "/offsite1/rockprofiles/" in config file bacula-sd.conf.

I checked my bacula-sd.conf and the archive device DOES exist

#START ROCKPROFILES OFFSITE1 STORAGE DEFINITIONS
Device {
  Name = rockprofilesoffsite1FileStorage
  Media Type = File
  Archive Device = /offsite1/rockprofiles
  LabelMedia = yes;                   # lets Bacula label unlabeled
media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;

I did change my fstab to make the hdd mountable (basically removed the
LABEL=/offsite and give it /dev/sdb1) , can this be the problem?






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to