2 * BootStrap record definition -- for restoring files.
4 * Kern Sibbald, June 2002
10 Copyright (C) 2000-2004 Kern Sibbald and John Walker
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of
15 the License, or (at your option) any later version.
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public
23 License along with this program; if not, write to the Free
24 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
34 * List of Volume names to be read by Storage daemon.
35 * Formed by Storage daemon from BSR
39 char VolumeName[MAX_NAME_LENGTH];
46 * !!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
48 * !!! All records must have a pointer to !!!
49 * !!! the next item as the first item defined. !!!
51 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
56 char VolumeName[MAX_NAME_LENGTH];
61 char ClientName[MAX_NAME_LENGTH];
73 bool done; /* local done */
78 uint32_t sfile; /* start file */
79 uint32_t efile; /* end file */
80 bool done; /* local done */
85 uint32_t sblock; /* start block */
86 uint32_t eblock; /* end block */
87 bool done; /* local done */
93 int32_t findex; /* start file index */
94 int32_t findex2; /* end file index */
95 bool done; /* local done */
109 struct BSR_JOBLEVEL {
116 char Job[MAX_NAME_LENGTH];
117 bool done; /* local done */
122 int32_t stream; /* stream desired */
126 BSR *next; /* pointer to next one */
127 BSR *root; /* root bsr */
128 bool reposition; /* set when any bsr is marked done */
129 bool mount_next_volume; /* set when next volume should be mounted */
130 bool done; /* set when everything found for this bsr */
131 bool use_fast_rejection; /* set if fast rejection can be used */
132 bool use_positioning; /* set if we can position the archive */
134 int32_t Slot; /* Slot */
135 uint32_t count; /* count of files to restore this bsr */
136 uint32_t found; /* count of restored files this bsr */
137 BSR_VOLFILE *volfile;
138 BSR_VOLBLOCK *volblock;
139 BSR_SESSTIME *sesstime;
144 BSR_FINDEX *FileIndex;
145 BSR_JOBTYPE *JobType;
146 BSR_JOBLEVEL *JobLevel;