Bacula-users

Re: [Bacula-users] bextract -- restore single occurrence of file

2009-10-19 05:50:36
Subject: Re: [Bacula-users] bextract -- restore single occurrence of file
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 19 Oct 2009 10:47:18 +0100
>>>>> On Sat, 17 Oct 2009 04:34:52 -0700 (PDT), cby  said:
> 
> Jesper
> 
> 
> Jesper Krogh wrote:
> > 
> >> I fired up bextract  (standard bacula restore is not appropriate in this
> >> case) which restored the first occurrence of the file as expected.
> >> However,
> >> instead of halting after restoring the file, bextract continued to the
> >> end
> >> of the tape and found a second occurrence with the same filename which it
> >> duly restored replacing the originally restored file.
> > 
> > I suggest you open a bug-report/feature request on this.. this seems
> > like a really nasty situation to get into if stuff really "burns".
> > 
> > Jesper
> > 
> > 
> 
> 
> Interestingly, I tried Martin's suggestion of using a bootstrap file. I
> defined two parameters: Volume name = volname and Count = 1.  My
> understanding was that once the number of restored files hit the Count value
> bextract would stop. This wasn't the case.

That may be a bug.


>                                             I also used an include-list file
> when running bextract so there may be a clash when using -b and -i
> command-line options. I wasn't able to provide all the parameters to use
> just a bootstrap file. 

I think you can get the job-related parameters by running bls.

__Martin

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users