4
\section*{Critical Items to Implement Before Going Production}
5
\label{_ChapterStart32}
6
\index[general]{Production!Critical Items to Implement Before Going }
7
\index[general]{Critical Items to Implement Before Going Production }
8
\addcontentsline{toc}{section}{Critical Items to Implement Before Going
12
\index[general]{General }
13
\addcontentsline{toc}{subsection}{General}
15
We recommend you take your time before implementing a Bacula backup system
16
since Bacula is a rather complex program, and if you make a mistake, you may
17
suddenly find that you cannot restore your files in case of a disaster.
18
This is especially true if you have not previously used a major backup
4
\chapter{Critical Items to Implement Before Production}
5
\label{CriticalChapter}
6
\index[general]{Production!Critical Items to Implement Before }
7
\index[general]{Critical Items to Implement Before Production }
9
We recommend you take your time before implementing a production a Bacula
10
backup system since Bacula is a rather complex program, and if you make a
11
mistake, you may suddenly find that you cannot restore your files in case
12
of a disaster. This is especially true if you have not previously used a
21
15
If you follow the instructions in this chapter, you will have covered most of
22
16
the major problems that can occur. It goes without saying that if you ever
24
18
that we can document it to the benefit of everyone.
27
\subsection*{Critical Items}
21
\section{Critical Items}
28
22
\index[general]{Critical Items }
29
23
\index[general]{Items!Critical }
30
\addcontentsline{toc}{subsection}{Critical Items}
32
25
The following assumes that you have installed Bacula, you more or less
33
26
understand it, you have at least worked through the tutorial or have
34
27
equivalent experience, and that you have set up a basic production
35
28
configuration. If you haven't done the above, please do so and then come back
36
29
here. The following is a sort of checklist that points with perhaps a brief
37
explanation of why you should do it. You will find the details elsewhere in the
38
manual. The order is more or less the order you would use in setting up a
39
production system (if you already are in production, use the checklist anyway).
30
explanation of why you should do it. In most cases, you will find the
31
details elsewhere in the manual. The order is more or less the order you
32
would use in setting up a production system (if you already are in
33
production, use the checklist anyway).
42
36
\item Test your tape drive for compatibility with Bacula by using the test
43
37
command in the \ilink{btape}{btape} program.
44
38
\item Better than doing the above is to walk through the nine steps in the
45
\ilink{Tape Testing}{_ChapterStart27} chapter of the manual. It
39
\ilink{Tape Testing}{TapeTestingChapter} chapter of the manual. It
46
40
may take you a bit of time, but it will eliminate surprises.
47
\item Test your the end of tape handling of your tape drive by using the
41
\item Test the end of tape handling of your tape drive by using the
48
42
fill command in the \ilink{btape}{btape} program.
49
\item If you are using a 2.4 kernel, make sure that /lib/tls is disabled. Bacula
43
\item If you are using a Linux 2.4 kernel, make sure that /lib/tls is disabled. Bacula
50
44
does not work with this library. See the second point under
51
45
\ilink{ Supported Operating Systems.}{SupportedOSes}
52
\item Do at least one restore of files. If you backup both Unix and Win32
53
systems, restore files from each system type. The
54
\ilink{Restoring Files}{_ChapterStart13} chapter shows you how.
46
\item Do at least one restore of files. If you backup multiple OS types
47
(Linux, Solaris, HP, MacOS, FreeBSD, Win32, ...),
48
restore files from each system type. The
49
\ilink{Restoring Files}{RestoreChapter} chapter shows you how.
55
50
\item Write a bootstrap file to a separate system for each backup job. The
56
51
Write Bootstrap directive is described in the
57
52
\ilink{Director Configuration}{writebootstrap} chapter of the
58
53
manual, and more details are available in the
59
\ilink{Bootstrap File}{_ChapterStart43} chapter. Also, the default
54
\ilink{Bootstrap File}{BootstrapChapter} chapter. Also, the default
60
55
bacula-dir.conf comes with a Write Bootstrap directive defined. This allows
61
56
you to recover the state of your system as of the last backup.
62
57
\item Backup your catalog. An example of this is found in the default
73
68
reconstruct if your server dies.
74
69
\item Make a Bacula Rescue CDROM! See the
75
70
\ilink{Disaster Recovery Using a Bacula Rescue
76
CDROM}{_ChapterRescue} chapter. It is trivial to make such a CDROM,
71
CDROM}{RescueChapter} chapter. It is trivial to make such a CDROM,
77
72
and it can make system recovery in the event of a lost hard disk infinitely
79
\item After doing your first backup restore some or all the data. Do this for
80
at least one client on each different OS (e.g. Linux, FreeBSD, Solaris, Win32).
74
\item Bacula assumes all filenames are in UTF-8 format. This is important
75
when saving the filenames to the catalog. For Win32 machine, Bacula will
76
automatically convert from Unicode to UTF-8, but on Unix, Linux, *BSD,
77
and MacOS X machines, you must explicitly ensure that your locale is set
78
properly. Typically this means that the {bf LANG} environment variable
79
must end in {\bf .UTF-8}. An full example is {\bf en\_US.UTF-8}. The
80
exact syntax may vary a bit from OS to OS, and exactly how you define it
83
\subsection*{Recommended Items}
84
\section{Recommended Items}
84
85
\index[general]{Items!Recommended }
85
86
\index[general]{Recommended Items }
86
\addcontentsline{toc}{subsection}{Recommended Items}
88
88
Although these items may not be critical, they are recommended and will help
89
89
you avoid problems.
92
\item Read the \ilink{Quick Start Guide to Bacula}{_ChapterStart37}
92
\item Read the \ilink{Quick Start Guide to Bacula}{QuickStartChapter}
93
93
\item After installing and experimenting with Bacula, read and work carefully
94
94
through the examples in the
95
\ilink{Tutorial}{_ChapterStart1} chapter of this manual.
95
\ilink{Tutorial}{TutorialChapter} chapter of this manual.
96
96
\item Learn what each of the \ilink{Bacula Utility Programs}{_UtilityChapter}
98
98
\item Set up reasonable retention periods so that your catalog does not grow
99
99
to be too big. See the following three chapters:\\
100
\ilink{Recycling your Volumes}{_ChapterStart22},\\
101
\ilink{Basic Volume Management}{_ChapterStart39},\\
102
\ilink{Using Pools to Manage Volumes}{_ChapterStart11}.
100
\ilink{Recycling your Volumes}{RecyclingChapter},\\
101
\ilink{Basic Volume Management}{DiskChapter},\\
102
\ilink{Using Pools to Manage Volumes}{PoolsChapter}.
103
103
\item Perform a bare metal recovery using the Bacula Rescue CDROM. See the
104
\ilink{Disaster Recovery Using a Bacula Rescue CDROM}{_ChapterRescue}
104
\ilink{Disaster Recovery Using a Bacula Rescue CDROM}{RescueChapter}