~ubuntu-branches/ubuntu/jaunty/bacula-doc/jaunty

« back to all changes in this revision

Viewing changes to manual/bacula/Getting_Started_with_Bacula.html

  • Committer: Bazaar Package Importer
  • Author(s): John Goerzen
  • Date: 2007-12-29 16:02:34 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071229160234-dyl18sllzsx72jfu
Tags: 2.2.8-1
* New upstream version.
* Thanks to Mark Hymers for assistance with packaging 2.2.6 and 2.2.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
 
3
3
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
4
4
original version by:  Nikos Drakos, CBLU, University of Leeds
25
25
</HEAD>
26
26
 
27
27
<BODY >
28
 
<!--Navigation Panel-->
29
 
<A NAME="tex2html1382"
 
28
 
 
29
<DIV CLASS="navigation"><!--Navigation Panel-->
 
30
<A NAME="tex2html1387"
30
31
  HREF="Installing_Bacula.html">
31
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
32
 
<A NAME="tex2html1376"
 
33
<A NAME="tex2html1381"
33
34
  HREF="Bacula_Users_Guide.html">
34
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
35
 
<A NAME="tex2html1370"
 
36
<A NAME="tex2html1375"
36
37
  HREF="Supported_Tape_Drives.html">
37
38
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
38
 
<A NAME="tex2html1378"
 
39
<A NAME="tex2html1383"
39
40
  HREF="Contents.html">
40
41
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
41
 
<A NAME="tex2html1380"
 
42
<A NAME="tex2html1385"
42
43
  HREF="General_Index.html">
43
44
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
44
45
<BR>
45
 
<B> Next:</B> <A NAME="tex2html1383"
 
46
<B> Next:</B> <A NAME="tex2html1388"
46
47
  HREF="Installing_Bacula.html">Installing Bacula</A>
47
 
<B> Up:</B> <A NAME="tex2html1377"
 
48
<B> Up:</B> <A NAME="tex2html1382"
48
49
  HREF="Bacula_Users_Guide.html">Bacula User's Guide</A>
49
 
<B> Previous:</B> <A NAME="tex2html1371"
 
50
<B> Previous:</B> <A NAME="tex2html1376"
50
51
  HREF="Supported_Tape_Drives.html">Supported Tape Drives</A>
51
 
 &nbsp; <B>  <A NAME="tex2html1379"
 
52
 &nbsp; <B>  <A NAME="tex2html1384"
52
53
  HREF="Contents.html">Contents</A></B> 
53
 
 &nbsp; <B>  <A NAME="tex2html1381"
 
54
 &nbsp; <B>  <A NAME="tex2html1386"
54
55
  HREF="General_Index.html">Index</A></B> 
55
56
<BR>
56
 
<BR>
 
57
<BR></DIV>
57
58
<!--End of Navigation Panel-->
58
59
<!--Table of Child-Links-->
59
60
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
60
61
 
61
 
<UL>
62
 
<LI><A NAME="tex2html1384"
 
62
<UL CLASS="ChildLinks">
 
63
<LI><A NAME="tex2html1389"
63
64
  HREF="Getting_Started_with_Bacula.html#SECTION00910000000000000000">Understanding Jobs and Schedules</A>
64
 
<LI><A NAME="tex2html1385"
 
65
<LI><A NAME="tex2html1390"
65
66
  HREF="Getting_Started_with_Bacula.html#SECTION00920000000000000000">Understanding Pools, Volumes and Labels</A>
66
 
<LI><A NAME="tex2html1386"
 
67
<LI><A NAME="tex2html1391"
67
68
  HREF="Getting_Started_with_Bacula.html#SECTION00930000000000000000">Setting Up Bacula Configuration Files</A>
68
69
<UL>
69
 
<LI><A NAME="tex2html1387"
 
70
<LI><A NAME="tex2html1392"
70
71
  HREF="Getting_Started_with_Bacula.html#SECTION00931000000000000000">Configuring the Console Program</A>
71
 
<LI><A NAME="tex2html1388"
 
72
<LI><A NAME="tex2html1393"
72
73
  HREF="Getting_Started_with_Bacula.html#SECTION00932000000000000000">Configuring the Monitor Program</A>
73
 
<LI><A NAME="tex2html1389"
 
74
<LI><A NAME="tex2html1394"
74
75
  HREF="Getting_Started_with_Bacula.html#SECTION00933000000000000000">Configuring the File daemon</A>
75
 
<LI><A NAME="tex2html1390"
 
76
<LI><A NAME="tex2html1395"
76
77
  HREF="Getting_Started_with_Bacula.html#SECTION00934000000000000000">Configuring the Director</A>
77
 
<LI><A NAME="tex2html1391"
 
78
<LI><A NAME="tex2html1396"
78
79
  HREF="Getting_Started_with_Bacula.html#SECTION00935000000000000000">Configuring the Storage daemon</A>
79
80
</UL>
80
81
<BR>
81
 
<LI><A NAME="tex2html1392"
 
82
<LI><A NAME="tex2html1397"
82
83
  HREF="Getting_Started_with_Bacula.html#SECTION00940000000000000000">Testing your Configuration Files</A>
83
 
<LI><A NAME="tex2html1393"
 
84
<LI><A NAME="tex2html1398"
84
85
  HREF="Getting_Started_with_Bacula.html#SECTION00950000000000000000">Testing Compatibility with Your Tape Drive</A>
85
 
<LI><A NAME="tex2html1394"
 
86
<LI><A NAME="tex2html1399"
86
87
  HREF="Getting_Started_with_Bacula.html#SECTION00960000000000000000">Get Rid of the /lib/tls Directory</A>
87
 
<LI><A NAME="tex2html1395"
 
88
<LI><A NAME="tex2html1400"
88
89
  HREF="Getting_Started_with_Bacula.html#SECTION00970000000000000000">Running Bacula</A>
89
 
<LI><A NAME="tex2html1396"
 
90
<LI><A NAME="tex2html1401"
90
91
  HREF="Getting_Started_with_Bacula.html#SECTION00980000000000000000">Log Rotation</A>
91
 
<LI><A NAME="tex2html1397"
 
92
<LI><A NAME="tex2html1402"
92
93
  HREF="Getting_Started_with_Bacula.html#SECTION00990000000000000000">Log Watch</A>
93
 
<LI><A NAME="tex2html1398"
 
94
<LI><A NAME="tex2html1403"
94
95
  HREF="Getting_Started_with_Bacula.html#SECTION009100000000000000000">Disaster Recovery</A>
95
96
</UL>
96
97
<!--End of Table of Child-Links-->
101
102
<BR>
102
103
Getting Started with Bacula
103
104
</H1>
104
 
<A NAME="798"></A>
 
105
<A NAME="805"></A>
105
106
 
106
107
<P>
107
108
If you are like me, you want to get Bacula running immediately to get a feel
123
124
<H1><A NAME="SECTION00910000000000000000">
124
125
Understanding Jobs and Schedules</A>
125
126
</H1>
126
 
<A NAME="805"></A>
127
 
<A NAME="806"></A>
 
127
<A NAME="812"></A>
 
128
<A NAME="813"></A>
128
129
 
129
130
<P>
130
131
In order to make Bacula as flexible as possible, the directions given 
159
160
<H1><A NAME="SECTION00920000000000000000">
160
161
Understanding Pools, Volumes and Labels</A>
161
162
</H1>
162
 
<A NAME="809"></A>
163
 
<A NAME="810"></A>
 
163
<A NAME="816"></A>
 
164
<A NAME="817"></A>
164
165
 
165
166
<P>
166
167
If you have been using a program such as <B>tar</B> to backup your system,
215
216
<BR>
216
217
Setting Up Bacula Configuration Files
217
218
</H1>
218
 
<A NAME="819"></A>
219
 
<A NAME="820"></A>
 
219
<A NAME="826"></A>
 
220
<A NAME="827"></A>
220
221
 
221
222
<P>
222
223
After running the appropriate <B>./configure</B> command and doing
243
244
<H2><A NAME="SECTION00931000000000000000">
244
245
Configuring the Console Program</A>
245
246
</H2>
246
 
<A NAME="828"></A>
247
 
<A NAME="829"></A>
 
247
<A NAME="835"></A>
 
248
<A NAME="836"></A>
248
249
 
249
250
<P>
250
251
The Console program is used by the administrator to interact with the Director
275
276
<H2><A NAME="SECTION00932000000000000000">
276
277
Configuring the Monitor Program</A>
277
278
</H2>
278
 
<A NAME="840"></A>
279
 
<A NAME="841"></A>
 
279
<A NAME="847"></A>
 
280
<A NAME="848"></A>
280
281
 
281
282
<P>
282
283
The Monitor program is typically an icon in the system tray. However, once the
285
286
workstation or any other Bacula daemon that is configured. 
286
287
 
287
288
<P>
288
 
<A NAME="844"></A>
 
289
<A NAME="851"></A>
289
290
<IMG
290
291
 WIDTH="832" HEIGHT="681" ALIGN="BOTTOM" BORDER="0"
291
292
 SRC="Bacula-tray-monitor.png"
315
316
<H2><A NAME="SECTION00933000000000000000">
316
317
Configuring the File daemon</A>
317
318
</H2>
318
 
<A NAME="853"></A>
319
 
<A NAME="854"></A>
 
319
<A NAME="860"></A>
 
320
<A NAME="861"></A>
320
321
 
321
322
<P>
322
323
The File daemon is a program that runs on each (Client) machine. At the
341
342
<H2><A NAME="SECTION00934000000000000000">
342
343
Configuring the Director</A>
343
344
</H2>
344
 
<A NAME="861"></A>
345
 
<A NAME="862"></A>
 
345
<A NAME="868"></A>
 
346
<A NAME="869"></A>
346
347
 
347
348
<P>
348
349
The Director is the central control program for all the other daemons. It
392
393
<H2><A NAME="SECTION00935000000000000000">
393
394
Configuring the Storage daemon</A>
394
395
</H2>
395
 
<A NAME="877"></A>
396
 
<A NAME="878"></A>
 
396
<A NAME="884"></A>
 
397
<A NAME="885"></A>
397
398
 
398
399
<P>
399
400
The Storage daemon is responsible, at the Director's request, for accepting
421
422
<H1><A NAME="SECTION00940000000000000000">
422
423
Testing your Configuration Files</A>
423
424
</H1>
424
 
<A NAME="887"></A>
425
 
<A NAME="888"></A>
 
425
<A NAME="894"></A>
 
426
<A NAME="895"></A>
426
427
 
427
428
<P>
428
429
You can test if your configuration file is syntactically correct by running
458
459
<H1><A NAME="SECTION00950000000000000000">
459
460
Testing Compatibility with Your Tape Drive</A>
460
461
</H1>
461
 
<A NAME="894"></A>
462
 
<A NAME="895"></A>
 
462
<A NAME="901"></A>
 
463
<A NAME="902"></A>
463
464
 
464
465
<P>
465
466
Before spending a lot of time on Bacula only to find that it doesn't work
482
483
<H1><A NAME="SECTION00960000000000000000">
483
484
Get Rid of the /lib/tls Directory</A>
484
485
</H1>
485
 
<A NAME="903"></A>
486
 
<A NAME="904"></A>
487
 
 
488
 
<P>
489
 
The new pthreads library <B>/lib/tls</B> installed by default on recent Red Hat
490
 
systems running Linux kernel 2.4.x is defective. You must remove it or rename it,
491
 
then reboot your system before running Bacula otherwise after a week or so of
492
 
running, Bacula will either block for long periods or deadlock entirely. 
493
 
You may want to use the loader environment variable override rather
494
 
than removing /lib/tls. Please see <A HREF="Supported_Operating_Systems.html#SupportedOSes"> Supported Operating
495
 
Systems</A> for more
496
 
information on this problem. 
 
486
<A NAME="910"></A>
 
487
<A NAME="911"></A>
 
488
The new pthreads library <B>/lib/tls</B> installed by default on recent Red
 
489
Hat systems running Linux kernel 2.4.x is defective.  You must remove it or
 
490
rename it, then reboot your system before running Bacula otherwise after a
 
491
week or so of running, Bacula will either block for long periods or
 
492
deadlock entirely.  You may want to use the loader environment variable
 
493
override rather than removing /lib/tls.  Please see <A HREF="Supported_Operating_Systems.html#SupportedOSes"> Supported
 
494
Operating Systems</A> for more information on this problem.
497
495
 
498
496
<P>
499
497
This problem does not occur on systems running Linux 2.6.x kernels. 
505
503
<H1><A NAME="SECTION00970000000000000000">
506
504
Running Bacula</A>
507
505
</H1>
508
 
<A NAME="910"></A>
509
 
<A NAME="911"></A>
 
506
<A NAME="917"></A>
 
507
<A NAME="918"></A>
510
508
 
511
509
<P>
512
510
Probably the most important part of running Bacula is being able to restore
525
523
<H1><A NAME="SECTION00980000000000000000">
526
524
Log Rotation</A>
527
525
</H1>
528
 
<A NAME="916"></A>
529
 
<A NAME="917"></A>
 
526
<A NAME="923"></A>
 
527
<A NAME="924"></A>
530
528
If you use the default <B>bacula-dir.conf</B> or some variation of it, you will
531
529
note that it logs all the Bacula output to a file. To avoid that this file
532
530
grows without limit, we recommend that you copy the file <B>logrotate</B> from
539
537
<H1><A NAME="SECTION00990000000000000000">
540
538
Log Watch</A>
541
539
</H1>
542
 
<A NAME="923"></A>
543
 
<A NAME="924"></A>
 
540
<A NAME="930"></A>
 
541
<A NAME="931"></A>
544
542
Some systems such as Red Hat and Fedora run the logwatch program
545
543
every night, which does an analysis of your log file and sends an
546
544
email report.  If you wish to include the output from your Bacula 
553
551
<H1><A NAME="SECTION009100000000000000000">
554
552
Disaster Recovery</A>
555
553
</H1>
556
 
<A NAME="928"></A>
557
 
<A NAME="929"></A>
 
554
<A NAME="935"></A>
 
555
<A NAME="936"></A>
558
556
 
559
557
<P>
560
558
If you intend to use Bacula as a disaster recovery tool rather than simply a
568
566
will be prepared. 
569
567
 
570
568
<P>
571
 
<HR>
 
569
 
 
570
<DIV CLASS="navigation"><HR>
572
571
<!--Navigation Panel-->
573
 
<A NAME="tex2html1382"
 
572
<A NAME="tex2html1387"
574
573
  HREF="Installing_Bacula.html">
575
574
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
576
 
<A NAME="tex2html1376"
 
575
<A NAME="tex2html1381"
577
576
  HREF="Bacula_Users_Guide.html">
578
577
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
579
 
<A NAME="tex2html1370"
 
578
<A NAME="tex2html1375"
580
579
  HREF="Supported_Tape_Drives.html">
581
580
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
582
 
<A NAME="tex2html1378"
 
581
<A NAME="tex2html1383"
583
582
  HREF="Contents.html">
584
583
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
585
 
<A NAME="tex2html1380"
 
584
<A NAME="tex2html1385"
586
585
  HREF="General_Index.html">
587
586
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
588
587
<BR>
589
 
<B> Next:</B> <A NAME="tex2html1383"
 
588
<B> Next:</B> <A NAME="tex2html1388"
590
589
  HREF="Installing_Bacula.html">Installing Bacula</A>
591
 
<B> Up:</B> <A NAME="tex2html1377"
 
590
<B> Up:</B> <A NAME="tex2html1382"
592
591
  HREF="Bacula_Users_Guide.html">Bacula User's Guide</A>
593
 
<B> Previous:</B> <A NAME="tex2html1371"
 
592
<B> Previous:</B> <A NAME="tex2html1376"
594
593
  HREF="Supported_Tape_Drives.html">Supported Tape Drives</A>
595
 
 &nbsp; <B>  <A NAME="tex2html1379"
 
594
 &nbsp; <B>  <A NAME="tex2html1384"
596
595
  HREF="Contents.html">Contents</A></B> 
597
 
 &nbsp; <B>  <A NAME="tex2html1381"
598
 
  HREF="General_Index.html">Index</A></B> 
 
596
 &nbsp; <B>  <A NAME="tex2html1386"
 
597
  HREF="General_Index.html">Index</A></B> </DIV>
599
598
<!--End of Navigation Panel-->
600
599
<ADDRESS>
601
600
Kern Sibbald
602
 
2007-10-11
 
601
2008-01-26
603
602
</ADDRESS>
604
603
</BODY>
605
604
</HTML>