Bacula-users

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

2009-10-15 05:44:23
Subject: [Bacula-users] bextract -- restore single occurrence of file
From: cby <christos.yianni AT coasolutions DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 15 Oct 2009 02:40:33 -0700 (PDT)
Hi

Running bacula on Centos 5.2 I have a tape volume which has more than one
occurrence of the same filename as a result of appending to tape. I needed
to restore the first file.

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.

Bearing in mind that the file is over 300GB (Veeam backup) I want to avoid a
repeat of this exercise without being able to halt bextract after the
initial file restore. I have looked through the bacula documentation and
usual places but there does not appear to be an obvious way to instruct
bextract to restore the first occurrence of a file.

Fortunately the two files were written some distance apart on the tape so I
can kill the bextract process once the first file has been restored. Not
exactly elegant but it should work.

I'd be grateful for any suggestions in how bextract itself can achieve this
without recourse to my sledgehammer approach!

Thanks.
-- 
View this message in context: 
http://www.nabble.com/bextract----restore-single-occurrence-of-file-tp25905115p25905115.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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