Final Bootstrap Example
If you want to extract a single Job, you can do it by applying VolSessionTime and the VolSessionId taken from a Job report or the Catalog. A .bsr file might look like the following:
Volume="Vol001"
VolSessionId=10
VolSessionTime=1080847820
If you know how many files are backed up (on the job report), you can enormously speed up the selection by adding (let’s assume there are 157 files):
FileIndex=1-157
Count=157
Finally, if you know the logical file number where the Job starts, you can also cause bextract to forward space to the right file without reading every record:
VolFile=20
There is nothing magic or complicated about a .bsr file. Parsing it and properly applying it within *is* close to magic, but you don’t need to worry about that.
If you want to see a real bsr file, simply fire up the restore command in the console program, select something, and while the “yes/mod/no” menus is shown, have a look at the .bsr file reported with the menu prompt. Eventually, you can copy that file and, in bconsole, answer “no” to the prompt.
See also
Go back to:
Go back to the Bootstrap File chapter.
Go back to the main Bacula Infrastructure Recovery page.