[Bacula-users] Restores ask for tapes that are not needed?
2010-02-19 09:48:59
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
The job will require the following
Volume(s) Storage(s) SD Device(s)
===========================================================================
AA0001 LTO4 LTO4
AA0002 LTO4 LTO4
DD0001 LTO4 LTO4
DD0002 LTO4 LTO4
Volumes marked with "*" are online.
26 files selected to be restored.
2010-02-19 08loki-sd JobId 27: Please mount Volume "AA0001" for:
Job: RestoreFiles.2010-02-19_08.34.21_39
Storage: "LTO4" (/dev/nst0)
Pool: BackupSetAA
Media type: LTO4
*
*mount storage=LTO4
3001 OK mount requested. Device="LTO4" (/dev/nst0)
*
2010-02-19 08loki-sd JobId 27: Ready to read from volume "AA0001" on
device "LTO4" (/dev/nst0).
2010-02-19 08loki-sd JobId 27: Forward spacing Volume "AA0001" to
file:block 0:1.
2010-02-19 08loki-sd JobId 27: End of Volume at file 0 on device "LTO4"
(/dev/nst0), Volume "AA0001"
*
2010-02-19 08loki-sd JobId 27: Warning: acquire.c:263 Read acquire:
Wrong Volume mounted on device "LTO4" (/dev/nst0): Wanted AA0002 have
AA0001
2010-02-19 08loki-sd JobId 27: Please mount Volume "AA0002" for:
Job: RestoreFiles.2010-02-19_08.34.21_39
Storage: "LTO4" (/dev/nst0)
Pool: BackupSetAA
Media type: LTO4
*
*mount storage=LTO4
3001 OK mount requested. Device="LTO4" (/dev/nst0)
----------
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?
Steve
|
------------------------------------------------------------------------------
Download Intel® 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>
|
- [Bacula-users] Restores ask for tapes that are not needed?,
Steve Costaras <=
|
|
|