Bacula-users

Re: [Bacula-users] Restores ask for tapes that are not needed?

2010-02-19 10:25:50
Subject: Re: [Bacula-users] Restores ask for tapes that are not needed?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 19 Feb 2010 15:21:41 GMT
>>>>> On Fri, 19 Feb 2010 08:44:51 -0600, Steve Costaras said:
> 
> I've been noticing that when doing file restores that bacula 
> (v3.0.3)/sqlite will always ask for the first tape of a backup even if 
> the files that you want to restore are NOT on that tape.    For example 
> below:
> 
> ----
> Bootstrap records written to 
> /opt/bacula/var/bacula/working/loki-dir.restore.1.bsr
> 
> ...
> 
> Why does it always ask for the first tape (in the case above tape 
> AA0001) when there are no files on that volume for the restore?   Seems 
> to be a completely un-needed action, the database should know what tapes 
> are needed and only request those specific ones?    accurate=yes is 
> enabled if that makes a difference?

It should be possible to work out what it is reading from the first tape by
looking at the bsr file (/opt/bacula/var/bacula/working/loki-dir.restore.1.bsr
is this case) and then finding the corresponding records in the catalog.

__Martin

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>