~ubuntu-branches/ubuntu/gutsy/bacula-doc/gutsy

« back to all changes in this revision

Viewing changes to manual/bacula/What_is_Bacula.html

  • Committer: Bazaar Package Importer
  • Author(s): John Goerzen
  • Date: 2006-08-15 09:44:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060815094408-1kvvfls2hs3d9uw8
Tags: upstream-1.38.11.1
ImportĀ upstreamĀ versionĀ 1.38.11.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
2
 
 
3
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
 
4
original version by:  Nikos Drakos, CBLU, University of Leeds
 
5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
 
6
* with significant contributions from:
 
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
 
8
<HTML>
 
9
<HEAD>
 
10
<TITLE>What is Bacula?</TITLE>
 
11
<META NAME="description" CONTENT="What is Bacula?">
 
12
<META NAME="keywords" CONTENT="bacula">
 
13
<META NAME="resource-type" CONTENT="document">
 
14
<META NAME="distribution" CONTENT="global">
 
15
 
 
16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
 
17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
18
 
 
19
<LINK REL="STYLESHEET" HREF="bacula.css">
 
20
 
 
21
<LINK REL="next" HREF="Current_State_Bacula.html">
 
22
<LINK REL="previous" HREF="List_Tables.html">
 
23
<LINK REL="up" HREF="Bacula_Users_Guide.html">
 
24
<LINK REL="next" HREF="Current_State_Bacula.html">
 
25
</HEAD>
 
26
 
 
27
<BODY >
 
28
<!--Navigation Panel-->
 
29
<A NAME="tex2html1142"
 
30
  HREF="Current_State_Bacula.html">
 
31
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
 
32
<A NAME="tex2html1136"
 
33
  HREF="Bacula_Users_Guide.html">
 
34
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
 
35
<A NAME="tex2html1130"
 
36
  HREF="List_Tables.html">
 
37
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
 
38
<A NAME="tex2html1138"
 
39
  HREF="Contents.html">
 
40
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
 
41
<A NAME="tex2html1140"
 
42
  HREF="General_Index.html">
 
43
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
 
44
<BR>
 
45
<B> Next:</B> <A NAME="tex2html1143"
 
46
  HREF="Current_State_Bacula.html">The Current State of</A>
 
47
<B> Up:</B> <A NAME="tex2html1137"
 
48
  HREF="Bacula_Users_Guide.html">Bacula User's Guide</A>
 
49
<B> Previous:</B> <A NAME="tex2html1131"
 
50
  HREF="List_Tables.html">List of Tables</A>
 
51
 &nbsp; <B>  <A NAME="tex2html1139"
 
52
  HREF="Contents.html">Contents</A></B> 
 
53
 &nbsp; <B>  <A NAME="tex2html1141"
 
54
  HREF="General_Index.html">Index</A></B> 
 
55
<BR>
 
56
<BR>
 
57
<!--End of Navigation Panel-->
 
58
<!--Table of Child-Links-->
 
59
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
60
 
 
61
<UL>
 
62
<LI><A NAME="tex2html1144"
 
63
  HREF="What_is_Bacula.html#SECTION00041000000000000000">Who Needs Bacula?</A>
 
64
<LI><A NAME="tex2html1145"
 
65
  HREF="What_is_Bacula.html#SECTION00042000000000000000">Bacula Components or Services</A>
 
66
<LI><A NAME="tex2html1146"
 
67
  HREF="What_is_Bacula.html#SECTION00043000000000000000">Bacula Configuration</A>
 
68
<LI><A NAME="tex2html1147"
 
69
  HREF="What_is_Bacula.html#SECTION00044000000000000000">Conventions Used in this Document</A>
 
70
<LI><A NAME="tex2html1148"
 
71
  HREF="What_is_Bacula.html#SECTION00045000000000000000">Quick Start</A>
 
72
<LI><A NAME="tex2html1149"
 
73
  HREF="What_is_Bacula.html#SECTION00046000000000000000">Terminology</A>
 
74
<LI><A NAME="tex2html1150"
 
75
  HREF="What_is_Bacula.html#SECTION00047000000000000000">What Bacula is Not</A>
 
76
<LI><A NAME="tex2html1151"
 
77
  HREF="What_is_Bacula.html#SECTION00048000000000000000">Interactions Between the Bacula Services</A>
 
78
</UL>
 
79
<!--End of Table of Child-Links-->
 
80
<HR>
 
81
 
 
82
<H1><A NAME="SECTION00040000000000000000"></A>
 
83
<A NAME="_ChapterStart41"></A>
 
84
<BR>
 
85
What is Bacula?
 
86
</H1>
 
87
<A NAME="78"></A>
 
88
<A NAME="79"></A>
 
89
<A NAME="82"></A>
 
90
 
 
91
<P>
 
92
<B>Bacula</B> is a set of computer programs that permits you (or the system
 
93
administrator) to manage backup, recovery, and verification of computer data
 
94
across a network of computers of different kinds. Bacula can also run entirely
 
95
upon a single computer, and can backup to various types of media, including tape
 
96
and disk.
 
97
 
 
98
<P>
 
99
In technical terms, it is a
 
100
network Client/Server based backup program. Bacula is relatively easy to use
 
101
and efficient, while offering many advanced storage management features that
 
102
make it easy to find and recover lost or damaged files. Due to its modular
 
103
design, Bacula is scalable from small single computer systems to systems
 
104
consisting of hundreds of computers located over a large network. 
 
105
 
 
106
<P>
 
107
 
 
108
<H2><A NAME="SECTION00041000000000000000">
 
109
Who Needs Bacula?</A>
 
110
</H2>
 
111
<A NAME="85"></A>
 
112
<A NAME="86"></A>
 
113
<A NAME="89"></A>
 
114
 
 
115
<P>
 
116
If you are currently using a program such as <B>tar</B>, <B>dump</B>, or <B>bru</B> to backup your computer data, and you would like a network solution, more
 
117
flexibility, or catalog services, Bacula will most likely provide the
 
118
additional features you want. However, if you are new to Unix systems or do
 
119
not have offsetting experience with a sophisticated backup package, we do not
 
120
recommend using Bacula as it is much more difficult to setup and use than <B>tar</B> or <B>dump</B>. 
 
121
 
 
122
<P>
 
123
If you want Bacula to behave like the above mentioned simple
 
124
programs and write over any tape that you put in the drive, then you will find
 
125
working with Bacula difficult. Bacula is designed to protect your data
 
126
following the rules you specify, and this means reusing a tape only
 
127
as the last resort. It is possible to "force" Bacula to write
 
128
over any tape in the drive, but it is easier and more efficient to use a
 
129
simpler program for that kind of operation.
 
130
 
 
131
<P>
 
132
If you are running <B>Amanda</B> and would like a backup program that can write
 
133
to multiple volumes (i.e. is not limited by your tape drive capacity), Bacula
 
134
can most likely fill your needs. In addition, quite a number of our users
 
135
report that Bacula is simpler to setup and use than other equivalent programs.
 
136
 
 
137
<P>
 
138
If you are currently using a sophisticated commercial package such as Legato
 
139
Networker. ARCserveIT, Arkeia, or PerfectBackup+, you may be interested in
 
140
Bacula, which provides many of the same features, and is free software
 
141
available under the GNU Version 2 software license. 
 
142
 
 
143
<P>
 
144
 
 
145
<H2><A NAME="SECTION00042000000000000000">
 
146
Bacula Components or Services</A>
 
147
</H2>
 
148
<A NAME="97"></A>
 
149
<A NAME="98"></A>
 
150
<A NAME="101"></A>
 
151
 
 
152
<P>
 
153
Bacula is made up of the following five major components or services: 
 
154
 
 
155
<P>
 
156
<A NAME="104"></A>
 
157
<IMG
 
158
 WIDTH="539" HEIGHT="693" ALIGN="BOTTOM" BORDER="0"
 
159
 SRC="bacula-applications.png"
 
160
 ALT="\includegraphics{./bacula-applications.eps}"> 
 
161
(thanks to Aristedes Maniatis for this graphic and the one below) 
 
162
 
 
163
<P>
 
164
 
 
165
<UL>
 
166
<LI><A NAME="DirDef"></A>   <B>Bacula Director</B> service consists of the program that supervises
 
167
   all the backup, restore, verify and archive operations.  The system
 
168
   administrator uses the Bacula Director to schedule backups and to
 
169
   recover files.  For more details see the Director Services Daemon Design
 
170
   Document in the Bacula Developer's Guide.  The Director runs as a daemon
 
171
   or a service (i.e.  in the background).
 
172
</LI>
 
173
<LI><A NAME="UADef"></A>   <B>Bacula Console</B> services is the program that allows the
 
174
   administrator or user to communicate with the <B>Bacula Director</B> (see
 
175
   above).  Currently, the Bacula Console is available in three versions.
 
176
   The first and simplest is to run the Console program in a shell window
 
177
   (i.e.  TTY interface).  Most system administrators will find this
 
178
   completely adequate.  The second version is a GNOME GUI interface that
 
179
   is far from complete, but quite functional as it has most the
 
180
   capabilities of the shell Console.  The third version is a wxWidgets GUI
 
181
   with an interactive file restore.  It also has most of the capabilities
 
182
   of the shell console, allows command completion with tabulation, and
 
183
   gives you instant help about the command you are typing.  For more
 
184
   details see the <A HREF="Bacula_Console.html#_ConsoleChapter">Bacula Console Design Document</A>.
 
185
</LI>
 
186
<LI><A NAME="FDDef"></A>   <B>Bacula File</B> services (or Client program) is the software program
 
187
   that is installed on the machine to be backed up.  It is specific to the
 
188
   operating system on which it runs and is responsible for providing the
 
189
   file attributes and data when requested by the Director.  The File
 
190
   services are also responsible for the file system dependent part of
 
191
   restoring the file attributes and data during a recovery operation.  For
 
192
   more details see the File Services Daemon Design Document in the Bacula
 
193
   Developer's Guide.  This program runs as a daemon on the machine to be
 
194
   backed up, and in some of the documentation, the File daemon is referred
 
195
   to as the Client (for example in Bacula's configuration file).  In
 
196
   addition to Unix/Linux File daemons, there is a Windows File daemon
 
197
   (normally distributed in binary format).  The Windows File daemon runs
 
198
   on current Windows versions (NT, 2000, XP, 2003, and possibly Me and
 
199
   98).
 
200
</LI>
 
201
<LI><A NAME="SDDef"></A>   <B>Bacula Storage</B> services consist of the software programs that
 
202
   perform the storage and recovery of the file attributes and data to the
 
203
   physical backup media or volumes.  In other words, the Storage daemon is
 
204
   responsible for reading and writing your tapes (or other storage media,
 
205
   e.g.  files).  For more details see the Storage Services Daemon Design
 
206
   Document in the Bacula Developer's Guild.  The Storage services runs as
 
207
   a daemon on the machine that has the backup device (usually a tape
 
208
   drive).
 
209
</LI>
 
210
<LI><A NAME="DBDefinition"></A>   <B>Catalog</B> services are comprised of the software programs
 
211
   responsible for maintaining the file indexes and volume databases for
 
212
   all files backed up.  The Catalog services permit the System
 
213
   Administrator or user to quickly locate and restore any desired file.
 
214
   The Catalog services sets Bacula apart from simple backup programs like
 
215
   tar and bru, because the catalog maintains a record of all Volumes used,
 
216
   all Jobs run, and all Files saved, permitting efficient restoration and
 
217
   Volume management.  Bacula currently supports three different databases,
 
218
   MySQL, PostgreSQL, and SQLite, one of which must be chosen when building
 
219
   <B>Bacula</B>.
 
220
 
 
221
<P>
 
222
The three SQL databases currently supported (MySQL, PostgreSQL or
 
223
   SQLite) provide quite a number of features, including rapid indexing,
 
224
   arbitrary queries, and security.  Although we plan to support other
 
225
   major SQL databases, the current Bacula implementation interfaces only
 
226
   to MySQL, PostgreSQL and SQLite.  For the technical and porting details
 
227
   see the Catalog Services Design Document in the developer's documented.
 
228
 
 
229
<P>
 
230
The RPMs for MySQL and PostgreSQL ship as part of the Linux RedHat and
 
231
   several other releases.  Alternatively, building the rpms from the
 
232
   source is quite easy, see the <A HREF="Installing_Configurin_MySQL.html#_ChapterStart"> Installing and Configuring
 
233
   MySQL</A> chapter of this document for the details.  For
 
234
   more information on MySQL, please see:
 
235
   <A NAME="tex2html1"
 
236
  HREF="http://www.mysql.com">www.mysql.com</A>.  Or see the <A HREF="Installi_Configur_PostgreS.html#_ChapterStart10">
 
237
 
 
238
Installing and Configuring PostgreSQL</A> chapter of this
 
239
   document for the details.  For more information on PostgreSQL, please
 
240
   see: <A NAME="tex2html2"
 
241
  HREF="http://www.postgresql.org">www.postgresql.org</A>.
 
242
 
 
243
<P>
 
244
Configuring and building SQLite is even easier.  For the details of
 
245
   configuring SQLite, please see the <A HREF="Installin_Configuri_SQLite.html#_ChapterStart33"> Installing and Configuring
 
246
   SQLite</A> chapter of this document.
 
247
</LI>
 
248
<LI><A NAME="MonDef"></A>   <B>Bacula Monitor</B> services is the program that allows the
 
249
   administrator or user to watch current status of <B>Bacula Directors</B>,
 
250
   <B>Bacula File Daemons</B> and <B>Bacula Storage Daemons</B> (see above).
 
251
   Currently, only a GTK+ version is available, which works with Gnome and
 
252
   KDE (or any window manager that supports the FreeDesktop.org system tray
 
253
   standard).  
 
254
</LI>
 
255
</UL>
 
256
 
 
257
<P>
 
258
To perform a successful save or restore, the following four daemons must be
 
259
   configured and running: the Director daemon, the File daemon, the Storage
 
260
   daemon, and MySQL, PostgreSQL or SQLite. 
 
261
 
 
262
<P>
 
263
 
 
264
<H2><A NAME="SECTION00043000000000000000">
 
265
Bacula Configuration</A>
 
266
</H2>
 
267
<A NAME="138"></A>
 
268
<A NAME="139"></A>
 
269
<A NAME="142"></A>
 
270
 
 
271
<P>
 
272
In order for Bacula to understand your system, what clients you want backed
 
273
up, and how, you must create a number of configuration files containing
 
274
resources (or objects). The following presents an overall picture of this: 
 
275
 
 
276
<P>
 
277
<A NAME="145"></A>
 
278
<IMG
 
279
 WIDTH="549" HEIGHT="695" ALIGN="BOTTOM" BORDER="0"
 
280
 SRC="bacula-objects.png"
 
281
 ALT="\includegraphics{./bacula-objects.eps}"> 
 
282
 
 
283
<P>
 
284
 
 
285
<H2><A NAME="SECTION00044000000000000000">
 
286
Conventions Used in this Document</A>
 
287
</H2>
 
288
<A NAME="148"></A>
 
289
<A NAME="149"></A>
 
290
<A NAME="152"></A>
 
291
 
 
292
<P>
 
293
<B>Bacula</B> is in a state of evolution, and as a consequence, this manual
 
294
will not always agree with the code. If an item in this manual is preceded by
 
295
an asterisk (*), it indicates that the particular feature is not implemented.
 
296
If it is preceded by a plus sign (+), it indicates that the feature may be
 
297
partially implemented. 
 
298
 
 
299
<P>
 
300
If you are reading this manual as supplied in a released version of the
 
301
software, the above paragraph holds true. If you are reading the online
 
302
version of the manual, 
 
303
<A NAME="tex2html3"
 
304
  HREF="http://www.bacula.org">www.bacula.org</A>, please bear in
 
305
mind that this version describes the current version in development (in the
 
306
CVS) that may contain features not in the released version. Just the same, it
 
307
generally lags behind the code a bit. 
 
308
 
 
309
<P>
 
310
 
 
311
<H2><A NAME="SECTION00045000000000000000">
 
312
Quick Start</A>
 
313
</H2>
 
314
<A NAME="157"></A>
 
315
<A NAME="158"></A>
 
316
<A NAME="161"></A>
 
317
 
 
318
<P>
 
319
To get Bacula up and running quickly, we recommend that you first scan the
 
320
Terminology section below, then quickly review the next chapter entitled 
 
321
<A HREF="Current_State_Bacula.html#_ChapterStart2">The Current State of Bacula</A>, then the 
 
322
<A HREF="Getting_Started_with_Bacula.html#_ChapterStart37">Getting Started with Bacula</A>, which will
 
323
give you a quick overview of getting Bacula running. After which, you should
 
324
proceed to the chapter on 
 
325
<A HREF="Installing_Bacula.html#_ChapterStart17">Installing Bacula</A>, then 
 
326
<A HREF="Customizin_Configurat_Files.html#_ChapterStart16">How to Configure Bacula</A>, and finally the
 
327
chapter on 
 
328
<A HREF="Brief_Tutorial.html#_ChapterStart1"> Running Bacula</A>. 
 
329
 
 
330
<P>
 
331
 
 
332
<H2><A NAME="SECTION00046000000000000000">
 
333
Terminology</A>
 
334
</H2>
 
335
<A NAME="173"></A>
 
336
<A NAME="176"></A>
 
337
 
 
338
<P>
 
339
To facilitate communication about this project, we provide here the
 
340
definitions of the terminology that we use. 
 
341
 
 
342
<P>
 
343
<DL>
 
344
<DT><STRONG>Administrator</STRONG></DT>
 
345
<DD><A NAME="178"></A>
 
346
   The person or persons responsible for administrating the Bacula system. 
 
347
 
 
348
<P>
 
349
</DD>
 
350
<DT><STRONG>Backup</STRONG></DT>
 
351
<DD><A NAME="179"></A>
 
352
   We use the term <B>Backup</B> to refer to a Bacula Job that saves files. 
 
353
 
 
354
<P>
 
355
</DD>
 
356
<DT><STRONG>Bootstrap File</STRONG></DT>
 
357
<DD><A NAME="181"></A>
 
358
   The bootstrap file is an ASCII file containing a compact form of
 
359
   commands that allow Bacula or the stand-alone file extraction utility
 
360
   (<B>bextract</B>) to restore the contents of one or more Volumes, for
 
361
   example, the current state of a system just backed up.  With a bootstrap
 
362
   file, Bacula can restore your system without a Catalog.  You can create
 
363
   a bootstrap file from a Catalog to extract any file or files you wish.
 
364
 
 
365
<P>
 
366
</DD>
 
367
<DT><STRONG>Catalog</STRONG></DT>
 
368
<DD><A NAME="183"></A>
 
369
   The Catalog is used to store summary information about the Jobs,
 
370
   Clients, and Files that were backed up and on what Volume or Volumes.
 
371
   The information saved in the Catalog permits the administrator or user
 
372
   to determine what jobs were run, their status as well as the important
 
373
   characteristics of each file that was backed up, and most importantly,
 
374
   it permits you to choose what files to restore.
 
375
   The Catalog is an
 
376
   online resource, but does not contain the data for the files backed up.
 
377
   Most of the information stored in the catalog is also stored on the
 
378
   backup volumes (i.e.  tapes).  Of course, the tapes will also have a
 
379
   copy of the file data in addition to the File Attributes (see below).
 
380
 
 
381
<P>
 
382
The catalog feature is one part of Bacula that distinguishes it from
 
383
   simple backup and archive programs such as <B>dump</B> and <B>tar</B>.
 
384
 
 
385
<P>
 
386
</DD>
 
387
<DT><STRONG>Client</STRONG></DT>
 
388
<DD><A NAME="186"></A>
 
389
   In Bacula's terminology, the word Client refers to the machine being
 
390
   backed up, and it is synonymous with the File services or File daemon,
 
391
   and quite often, we refer to it as the FD. A Client is defined in a
 
392
   configuration file resource.
 
393
 
 
394
<P>
 
395
</DD>
 
396
<DT><STRONG>Console</STRONG></DT>
 
397
<DD><A NAME="187"></A>
 
398
   The program that interfaces to the Director allowing  the user or system
 
399
   administrator to control Bacula. 
 
400
 
 
401
<P>
 
402
</DD>
 
403
<DT><STRONG>Daemon</STRONG></DT>
 
404
<DD><A NAME="188"></A>
 
405
   Unix terminology for a program that is always present in  the background to
 
406
carry out a designated task. On Windows systems, as  well as some Linux
 
407
systems, daemons are called <B>Services</B>. 
 
408
 
 
409
<P>
 
410
</DD>
 
411
<DT><STRONG>Directive</STRONG></DT>
 
412
<DD><A NAME="190"></A>
 
413
   The term directive is used to refer to a statement or a record within a
 
414
   Resource in a configuration file that defines one specific thing.  For
 
415
   example, the <B>Name</B> directive defines the name of the Resource.
 
416
 
 
417
<P>
 
418
</DD>
 
419
<DT><STRONG>Director</STRONG></DT>
 
420
<DD><A NAME="192"></A>
 
421
   The main Bacula server daemon that schedules and directs all  Bacula
 
422
   operations. Occasionally, we refer to the Director as DIR. 
 
423
 
 
424
<P>
 
425
</DD>
 
426
<DT><STRONG>Differential</STRONG></DT>
 
427
<DD><A NAME="193"></A>
 
428
   A backup that includes all files changed since the last  Full save started.
 
429
   Note, other backup programs may define this differently. 
 
430
 
 
431
<P>
 
432
</DD>
 
433
<DT><STRONG>File Attributes</STRONG></DT>
 
434
<DD><A NAME="194"></A>
 
435
   The File Attributes are all the information  necessary about a file to
 
436
   identify it and all its properties such as  size, creation date, modification
 
437
   date, permissions, etc. Normally, the  attributes are handled entirely by
 
438
   Bacula so that the user never  needs to be concerned about them. The
 
439
   attributes do not include the  file's data. 
 
440
 
 
441
<P>
 
442
</DD>
 
443
<DT><STRONG>File Daemon</STRONG></DT>
 
444
<DD><A NAME="195"></A>
 
445
   The daemon running on the client  computer to be backed up. This is also
 
446
   referred to as the File  services, and sometimes as the Client services or the
 
447
   FD. 
 
448
 
 
449
<P>
 
450
<A NAME="FileSetDef"></A></DD>
 
451
<DT><STRONG>FileSet</STRONG></DT>
 
452
<DD><A NAME="197"></A>
 
453
   A FileSet is a Resource contained in a configuration file that defines
 
454
   the files to be backed up.  It consists of a list of included files or
 
455
   directories, a list of excluded files, and how the file is to be stored
 
456
   (compression, encryption, signatures).  For more details, see the
 
457
   <A HREF="Configuring_Director.html#FileSetResource">FileSet Resource definition</A> in the Director
 
458
   chapter of this document.
 
459
 
 
460
<P>
 
461
</DD>
 
462
<DT><STRONG>Incremental</STRONG></DT>
 
463
<DD><A NAME="200"></A>
 
464
   A backup that includes all files changed since the  last Full, Differential,
 
465
   or Incremental backup started. It is normally  specified on the <B>Level</B>
 
466
   directive within the Job resource  definition, or in a Schedule resource. 
 
467
 
 
468
<P>
 
469
<A NAME="JobDef"></A></DD>
 
470
<DT><STRONG>Job</STRONG></DT>
 
471
<DD><A NAME="203"></A>
 
472
   A Bacula Job is a configuration resource that defines the work that
 
473
   Bacula must perform to backup or restore a particular Client.  It
 
474
   consists of the <B>Type</B> (backup, restore, verify, etc), the <B>   Level</B> (full, incremental,...), the <B>FileSet</B>, and <B>Storage</B> the
 
475
   files are to be backed up (Storage device, Media Pool).  For more
 
476
   details, see the <A HREF="Configuring_Director.html#JobResource">Job Resource definition</A> in the
 
477
   Director chapter of this document.
 
478
 
 
479
<P>
 
480
</DD>
 
481
<DT><STRONG>Monitor</STRONG></DT>
 
482
<DD><A NAME="210"></A>
 
483
   The program that interfaces to all the daemons  allowing the user or
 
484
   system administrator to monitor Bacula status. 
 
485
 
 
486
<P>
 
487
</DD>
 
488
<DT><STRONG>Resource</STRONG></DT>
 
489
<DD><A NAME="211"></A>
 
490
   A resource is a part of a configuration file that defines a specific
 
491
   unit of information that is available to Bacula.  It consists of several
 
492
   directives (individual configuration statements).  For example, the <B>   Job</B> resource defines all the properties of a specific Job: name,
 
493
   schedule, Volume pool, backup type, backup level, ...
 
494
 
 
495
<P>
 
496
</DD>
 
497
<DT><STRONG>Restore</STRONG></DT>
 
498
<DD><A NAME="213"></A>
 
499
   A restore is a configuration resource that describes the operation of
 
500
   recovering a file from backup media.  It is the inverse of a save,
 
501
   except that in most cases, a restore will normally have a small set of
 
502
   files to restore, while normally a Save backs up all the files on the
 
503
   system.  Of course, after a disk crash, Bacula can be called upon to do
 
504
   a full Restore of all files that were on the system.
 
505
 
 
506
<P>
 
507
</DD>
 
508
<DT><STRONG>Schedule</STRONG></DT>
 
509
<DD><A NAME="214"></A>
 
510
   A Schedule is a configuration resource that defines when the Bacula Job
 
511
   will be scheduled for execution.  To use the Schedule, the Job resource
 
512
   will refer to the name of the Schedule.  For more details, see the
 
513
   <A HREF="Configuring_Director.html#ScheduleResource">Schedule Resource definition</A> in the Director
 
514
   chapter of this document.
 
515
 
 
516
<P>
 
517
</DD>
 
518
<DT><STRONG>Service</STRONG></DT>
 
519
<DD><A NAME="217"></A>
 
520
   This is Windows terminology for a <B>daemon</B> -- see  above. It is now
 
521
   frequently used in Unix environments as well. 
 
522
 
 
523
<P>
 
524
</DD>
 
525
<DT><STRONG>Storage Coordinates</STRONG></DT>
 
526
<DD><A NAME="219"></A>
 
527
   The information returned from the Storage Services that uniquely locates
 
528
   a file on a backup medium.  It consists of two parts: one part pertains
 
529
   to each file saved, and the other part pertains to the whole Job.
 
530
   Normally, this information is saved in the Catalog so that the user
 
531
   doesn't need specific knowledge of the Storage Coordinates.  The Storage
 
532
   Coordinates include the File Attributes (see above) plus the unique
 
533
   location of the information on the backup Volume.
 
534
 
 
535
<P>
 
536
</DD>
 
537
<DT><STRONG>Storage Daemon</STRONG></DT>
 
538
<DD><A NAME="220"></A>
 
539
   The Storage daemon, sometimes referred to as the SD, is the code that
 
540
   writes the attributes and data to a storage Volume (usually a tape or
 
541
   disk).
 
542
 
 
543
<P>
 
544
</DD>
 
545
<DT><STRONG>Session</STRONG></DT>
 
546
<DD><A NAME="221"></A>
 
547
   Normally refers to the internal conversation between the File daemon and
 
548
   the Storage daemon.  The File daemon opens a <B>session</B> with the
 
549
   Storage daemon to save a FileSet, or to restore it.  A session has a one
 
550
   to one correspondence to a Bacula Job (see above).
 
551
 
 
552
<P>
 
553
</DD>
 
554
<DT><STRONG>Verify</STRONG></DT>
 
555
<DD><A NAME="223"></A>
 
556
   A verify is a job that compares the current file attributes to the
 
557
   attributes that have previously been stored in the Bacula Catalog.  This
 
558
   feature can be used for detecting changes to critical system files
 
559
   similar to what <B>Tripwire</B> does.  One of the major advantages of
 
560
   using Bacula to do this is that on the machine you want protected such
 
561
   as a server, you can run just the File daemon, and the Director, Storage
 
562
   daemon, and Catalog reside on a different machine.  As a consequence, if
 
563
   your server is ever compromised, it is unlikely that your verification
 
564
   database will be tampered with.
 
565
 
 
566
<P>
 
567
Verify can also be used to check that the most recent Job data written
 
568
   to a Volume agrees with what is stored in the Catalog (i.e.  it compares
 
569
   the file attributes), *or it can check the Volume contents against the
 
570
   original files on disk.
 
571
 
 
572
<P>
 
573
</DD>
 
574
<DT><STRONG>*Archive</STRONG></DT>
 
575
<DD><A NAME="225"></A>
 
576
   An Archive operation is done after a Save, and it  consists of removing the
 
577
Volumes on which data is saved from active  use. These Volumes are marked as
 
578
Archived, and may no longer be  used to save files. All the files contained
 
579
on an Archived Volume  are removed from the Catalog. NOT YET IMPLEMENTED. 
 
580
 
 
581
<P>
 
582
</DD>
 
583
<DT><STRONG>*Update</STRONG></DT>
 
584
<DD><A NAME="226"></A>
 
585
   An Update operation causes the files on the remote system to be updated to be
 
586
the same as the host system. This is  equivalent to an <B>rdist</B> capability.
 
587
NOT YET IMPLEMENTED.  
 
588
 
 
589
<P>
 
590
</DD>
 
591
<DT><STRONG>Retention Period</STRONG></DT>
 
592
<DD><A NAME="228"></A>
 
593
   There are various kinds of retention periods that Bacula recognizes.
 
594
   The most important are the <B>File</B> Retention Period, <B>Job</B>
 
595
   Retention Period, and the <B>Volume</B> Retention Period.  Each of these
 
596
   retention periods applies to the time that specific records will be kept
 
597
   in the Catalog database.  This should not be confused with the time that
 
598
   the data saved to a Volume is valid.
 
599
 
 
600
<P>
 
601
The File Retention Period determines the time that File records are kept
 
602
   in the catalog database.  This period is important because the volume of
 
603
   the database File records by far use the most storage space in the
 
604
   database.  As a consequence, you must ensure that regular "pruning" of
 
605
   the database file records is done.  (See the Console <B>retention</B>
 
606
   command for more details on this subject).
 
607
 
 
608
<P>
 
609
The Job Retention Period is the length of time that Job records will be
 
610
   kept in the database.  Note, all the File records are tied to the Job
 
611
   that saved those files.  The File records can be purged leaving the Job
 
612
   records.  In this case, information will be available about the jobs
 
613
   that ran, but not the details of the files that were backed up.
 
614
   Normally, when a Job record is purged, all its File records will also be
 
615
   purged.
 
616
 
 
617
<P>
 
618
The Volume Retention Period is the minimum of time that a Volume will be
 
619
   kept before it is reused.  Bacula will normally never overwrite a Volume
 
620
   that contains the only backup copy of a file.  Under ideal conditions,
 
621
   the Catalog would retain entries for all files backed up for all current
 
622
   Volumes.  Once a Volume is overwritten, the files that were backed up on
 
623
   that Volume are automatically removed from the Catalog.  However, if
 
624
   there is a very large pool of Volumes or a Volume is never overwritten,
 
625
   the Catalog database may become enormous.  To keep the Catalog to a
 
626
   manageable size, the backup information should be removed from the
 
627
   Catalog after the defined File Retention Period.  Bacula provides the
 
628
   mechanisms for the catalog to be automatically pruned according to the
 
629
   retention periods defined.
 
630
 
 
631
<P>
 
632
</DD>
 
633
<DT><STRONG>Scan</STRONG></DT>
 
634
<DD><A NAME="233"></A>
 
635
   A Scan operation causes the contents of a Volume or a series of Volumes
 
636
   to be scanned.  These Volumes with the information on which files they
 
637
   contain are restored to the Bacula Catalog.  Once the information is
 
638
   restored to the Catalog, the files contained on those Volumes may be
 
639
   easily restored.  This function is particularly useful if certain
 
640
   Volumes or Jobs have exceeded their retention period and have been
 
641
   pruned or purged from the Catalog.  Scanning data from Volumes into the
 
642
   Catalog is done by using the <B>bscan</B> program.  See the <A HREF="Volume_Utility_Tools.html#bscan"> bscan
 
643
   section</A> of the Bacula Utilities Chapter of this manual for more
 
644
   details.
 
645
 
 
646
<P>
 
647
</DD>
 
648
<DT><STRONG>Volume</STRONG></DT>
 
649
<DD><A NAME="237"></A>
 
650
   A Volume is an archive unit, normally a tape or a named disk file where
 
651
   Bacula stores the data from one or more backup jobs.  All Bacula Volumes
 
652
   have a software label written to the Volume by Bacula so that it
 
653
   identifies what Volume it is really reading.  (Normally there should be
 
654
   no confusion with disk files, but with tapes, it is easy to mount the
 
655
   wrong one).
 
656
</DD>
 
657
</DL>
 
658
 
 
659
<P>
 
660
 
 
661
<H2><A NAME="SECTION00047000000000000000">
 
662
What Bacula is Not</A>
 
663
</H2>
 
664
<A NAME="240"></A>
 
665
<A NAME="243"></A>
 
666
 
 
667
<P>
 
668
<B>Bacula</B> is a backup, restore and verification program and is not a
 
669
complete disaster recovery system in itself, but it can be a key part of one
 
670
if you plan carefully and follow the instructions included in the 
 
671
<A HREF="Disast_Recove_Using_Bacula.html#_ChapterRescue"> Disaster Recovery</A> Chapter of this manual. 
 
672
 
 
673
<P>
 
674
With proper planning, as mentioned in the Disaster Recovery chapter <B>Bacula</B> can be a central component of your disaster recovery system. For
 
675
example, if you have created an emergency boot disk, a Bacula Rescue disk to
 
676
save the current partitioning information of your hard disk, and maintain a
 
677
complete Bacula backup, it is possible to completely recover your system from
 
678
"bare metal" that is starting from an empty disk. 
 
679
 
 
680
<P>
 
681
If you have used the <B>WriteBootstrap</B> record in your job or some other
 
682
means to save a valid bootstrap file, you will be able to use it to extract
 
683
the necessary files (without using the catalog or manually searching for the
 
684
files to restore). 
 
685
 
 
686
<P>
 
687
 
 
688
<H2><A NAME="SECTION00048000000000000000">
 
689
Interactions Between the Bacula Services</A>
 
690
</H2>
 
691
<A NAME="250"></A>
 
692
<A NAME="251"></A>
 
693
<A NAME="254"></A>
 
694
 
 
695
<P>
 
696
The following block diagram shows the typical interactions between the Bacula
 
697
Services for a backup job. Each block represents in general a separate process
 
698
(normally a daemon). In general, the Director oversees the flow of
 
699
information. It also maintains the Catalog. 
 
700
 
 
701
<P>
 
702
<A NAME="257"></A>
 
703
<IMG
 
704
 WIDTH="462" HEIGHT="351" ALIGN="BOTTOM" BORDER="0"
 
705
 SRC="flow.png"
 
706
 ALT="\includegraphics{./flow.eps}"> 
 
707
 
 
708
<P>
 
709
<HR>
 
710
<!--Navigation Panel-->
 
711
<A NAME="tex2html1142"
 
712
  HREF="Current_State_Bacula.html">
 
713
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
 
714
<A NAME="tex2html1136"
 
715
  HREF="Bacula_Users_Guide.html">
 
716
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
 
717
<A NAME="tex2html1130"
 
718
  HREF="List_Tables.html">
 
719
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
 
720
<A NAME="tex2html1138"
 
721
  HREF="Contents.html">
 
722
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
 
723
<A NAME="tex2html1140"
 
724
  HREF="General_Index.html">
 
725
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
 
726
<BR>
 
727
<B> Next:</B> <A NAME="tex2html1143"
 
728
  HREF="Current_State_Bacula.html">The Current State of</A>
 
729
<B> Up:</B> <A NAME="tex2html1137"
 
730
  HREF="Bacula_Users_Guide.html">Bacula User's Guide</A>
 
731
<B> Previous:</B> <A NAME="tex2html1131"
 
732
  HREF="List_Tables.html">List of Tables</A>
 
733
 &nbsp; <B>  <A NAME="tex2html1139"
 
734
  HREF="Contents.html">Contents</A></B> 
 
735
 &nbsp; <B>  <A NAME="tex2html1141"
 
736
  HREF="General_Index.html">Index</A></B> 
 
737
<!--End of Navigation Panel-->
 
738
<ADDRESS>
 
739
 
 
740
2006-07-01
 
741
</ADDRESS>
 
742
</BODY>
 
743
</HTML>