On 21 Sep 2006 at 10:35, Sarath Jayewardena wrote:

> 
> 
> On Thu, 21 Sep 2006, Dan Langille wrote:
> 
> > On 21 Sep 2006 at 10:08, Sarath Jayewardena wrote:
> > 
> > > Hi,
> > > 
> > > I am experimenting to see whether bacula would be a good system for me to
> > > backup our department's servers. I am running bacula director and storage
> > > daemon on a Debian (sarge) machine which has a scsi DLT tape drive
> > > attached to it. The version of bacula is 1.36.2. It looks promising,
> > > except for one annoying, and in my view, serious problem:
> > > 
> > > The tape drive allows me to eject the tape by pressing an 'unload'
> > > button. However, afterwards, when I re-insert the tape, bacula cannot
> > > read it, so all the backup data is useless. (Of course, if I have
> > > 'unmounted' the tape from within bconsole before ejecting, bacula has
> > > no problem accessing the data afterwards.) The question is, is there
> > > any way to make bacula accept the tape if the tape was accidientally,
> > > 'improperly' ejected? 
> > >
> > > I have browsed the mailing list archive and seen the advice that I
> > > could use AlwaysOpen = no and OfflineOnUnmount = yes to guarantee that
> > > bacula unmounts the tape after each backup. But the advice comes with
> > > the warning that for each backup bacula will be rewinding and
> > > re-positioning the tape consuming a lot of time, so leaving the
> > > default behaviour is really preferred. 
> > > 
> > > If someone knows that this problem does not exist in newer versions of
> > > bacula, I could upgrade to the version (1.38.11) in the Debian testing
> > > distribution.
> > 
> > My tape drive does not allow me to eject the tape if Bacula has the 
> > device. I think the key directive from my SD config is:
> > 
> > Offline on Unmount = yes
> > 
> > I do not specify AlwaysOpen, but that defaults to Yes.
> > 
> > What is wrong with unmounting withing bconsole before ejecting the 
> > tape?
> > 
> There is really nothing wrong with unmounting within bconsole. My problem
> arises when you *accidentally* eject the tape without unmounting. In my
> environment, this can easily happen, because we have some tape drives
> where we just eject the old tape and insert a new one for the nightly
> backup (not using bacula).
> 
> I haven't tried the OfflineOnUnmount = yes yet. But my understanding is
> that it would automatically unmount the tape after the backup (thus
> causing it to to the time-consuming rewinding and re-positioning).

Based upon my two years of using these options, I believe your 
undertanding is incorrect.  :)  Please refer to the  documentation 
for the options I am referring to.  Yet, your OS may do things 
differently.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to