2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2017 Kern Sibbald
6 The original author of Bacula is Kern Sibbald, with contributions
7 from many others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 This notice must be preserved when any source code is
15 conveyed and/or propagated.
17 Bacula(R) is a registered trademark of Kern Sibbald.
20 * Bootstrap Record header file
22 * BSR (bootstrap record) handling routines split from
23 * ua_restore.c July MMIII
25 * Kern Sibbald, July MMII
30 /* FileIndex entry in restore bootstrap record */
38 * Restore bootstrap record -- not the real one, but useful here
39 * The restore bsr is a chain of BSR records (linked by next).
40 * Each BSR represents a single JobId, and within it, it
41 * contains a linked list of file indexes for that JobId.
42 * The complete_bsr() routine, will then add all the volumes
43 * on which the Job is stored to the BSR.
47 JobId_t JobId; /* JobId this bsr */
48 uint32_t VolSessionId;
49 uint32_t VolSessionTime;
50 int VolCount; /* Volume parameter count */
51 VOL_PARAMS *VolParams; /* Volume, start/end file/blocks */
52 rblist *fi_list; /* File indexes this JobId */
53 char *fileregex; /* Only restore files matching regex */
55 /* If we extend an existing fi, keep the memory for the next insert */