2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2015 Kern Sibbald
5 Copyright (C) 2002-2014 Free Software Foundation Europe e.V.
7 The original author of Bacula is Kern Sibbald, with contributions
8 from many others, a complete list can be found in the file AUTHORS.
10 You may use this file and others of this release according to the
11 license defined in the LICENSE file, which includes the Affero General
12 Public License, v3.0 ("AGPLv3") and some additional permissions and
13 terms pursuant to its AGPLv3 Section 7.
15 This notice must be preserved when any source code is
16 conveyed and/or propagated.
18 Bacula(R) is a registered trademark of Kern Sibbald.
22 * Bootstrap Record header file
24 * BSR (bootstrap record) handling routines split from
25 * ua_restore.c July MMIII
27 * Kern Sibbald, July MMII
33 /* FileIndex entry in restore bootstrap record */
41 * Restore bootstrap record -- not the real one, but useful here
42 * The restore bsr is a chain of BSR records (linked by next).
43 * Each BSR represents a single JobId, and within it, it
44 * contains a linked list of file indexes for that JobId.
45 * The complete_bsr() routine, will then add all the volumes
46 * on which the Job is stored to the BSR.
49 RBSR *next; /* next JobId */
50 JobId_t JobId; /* JobId this bsr */
51 uint32_t VolSessionId;
52 uint32_t VolSessionTime;
53 int VolCount; /* Volume parameter count */
54 VOL_PARAMS *VolParams; /* Volume, start/end file/blocks */
55 RBSR_FINDEX *fi; /* File indexes this JobId */
56 char *fileregex; /* Only restore files matching regex */