On Saturday 25 February 2006 20:08, Phil Stracchino wrote:
> I don't recall ... does Bacula optimize the BSR files at run time?  This
> one seems remarkably poorly optimized.

Bacula processes all records for each volume in a logical order (i.e. in the 
order it expects them to be found on the Volume), it then proceeds with the 
next Volume.

In the case presented below, I suspect that this is the result of a number of 
backup operations where Bacula wrote the Full backup, then the Diff and Inc 
backups (if any) were appended.  This leads to an unoptimized bsr where all 
files in the backup will be restored, then the same file in an Diff and Inc 
that is backed up will overlay the first file (inefficient, but it gives the 
right results).

In this case, I *think* that Bacula will process all records for the VXA-0008 
Volume before proceeding to the LTO-0001 Volume.  Of course, since this file 
was written by version 1.36 software, Bacula will not be able to switch 
drives ...



Volume="VXA-0008"
VolSessionId=45
VolSessionTime=1140316433
VolFile=45
VolBlock=0-5041
FileIndex=350
Count=1
Volume="LTO-0001"
VolSessionId=346
VolSessionTime=1136293978
VolFile=56
VolBlock=2-15497
FileIndex=88368-88372
FileIndex=88376
FileIndex=88378-88417
FileIndex=88419-88420
FileIndex=88422-88569
FileIndex=88571-88572
FileIndex=88574
FileIndex=88576
FileIndex=88579
FileIndex=88581-88582
FileIndex=88584
FileIndex=88586-88588
FileIndex=88590
Count=208
Volume="LTO-0001"
VolSessionId=346
VolSessionTime=1136293978
VolFile=73
VolBlock=0-15493
FileIndex=99504
Count=1
Volume="LTO-0001"
VolSessionId=346
VolSessionTime=1136293978
VolFile=76
VolBlock=1-15496
FileIndex=102418
Count=1
Volume="VXA-0008"
VolSessionId=17
VolSessionTime=1140316433
VolFile=17
VolBlock=0-14870
FileIndex=29-30
FileIndex=36
FileIndex=43
FileIndex=136
Count=5
Volume="VXA-0008"
VolSessionId=27
VolSessionTime=1140316433
VolFile=27
VolBlock=0-4835
FileIndex=3-4
FileIndex=7
FileIndex=9-10
FileIndex=12
Count=6
Volume="VXA-0008"
VolSessionId=36
VolSessionTime=1140316433
VolFile=36
VolBlock=0-4784
FileIndex=3-5
FileIndex=7-11
Count=8


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to