Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > df754e4e6f7f5fc8ab9d6ed8559f3e3d > files > 162

bacula-docs-5.0.3-19.fc16.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Installing Bacula</TITLE>
<META NAME="description" CONTENT="Installing Bacula">
<META NAME="keywords" CONTENT="main">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="main.css">

<LINK REL="next" HREF="Critical_Items_Implement_Be.html">
<LINK REL="previous" HREF="Getting_Started_with_Bacula.html">
<LINK REL="up" HREF="Bacula_Main_Reference.html">
<LINK REL="next" HREF="Critical_Items_Implement_Be.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1338"
  HREF="Critical_Items_Implement_Be.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html1332"
  HREF="Bacula_Main_Reference.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html1326"
  HREF="Getting_Started_with_Bacula.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html1334"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html1336"
  HREF="Thanks.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1339"
  HREF="Critical_Items_Implement_Be.html">Critical Items to Implement</A>
<B> Up:</B> <A NAME="tex2html1333"
  HREF="Bacula_Main_Reference.html">Bacula Main Reference</A>
<B> Previous:</B> <A NAME="tex2html1327"
  HREF="Getting_Started_with_Bacula.html">Getting Started with Bacula</A>
 &nbsp; <B>  <A NAME="tex2html1335"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html1337"
  HREF="Thanks.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A NAME="tex2html1340"
  HREF="Installing_Bacula.html#SECTION001410000000000000000">Source Release Files</A>
<LI><A NAME="tex2html1341"
  HREF="Installing_Bacula.html#SECTION001420000000000000000">Upgrading Bacula</A>
<LI><A NAME="tex2html1342"
  HREF="Installing_Bacula.html#SECTION001430000000000000000">Releases Numbering</A>
<LI><A NAME="tex2html1343"
  HREF="Installing_Bacula.html#SECTION001440000000000000000">Beta Releases</A>
<LI><A NAME="tex2html1344"
  HREF="Installing_Bacula.html#SECTION001450000000000000000">Dependency Packages</A>
<LI><A NAME="tex2html1345"
  HREF="Installing_Bacula.html#SECTION001460000000000000000">Supported Operating Systems</A>
<LI><A NAME="tex2html1346"
  HREF="Installing_Bacula.html#SECTION001470000000000000000">Building Bacula from Source</A>
<LI><A NAME="tex2html1347"
  HREF="Installing_Bacula.html#SECTION001480000000000000000">What Database to Use?</A>
<LI><A NAME="tex2html1348"
  HREF="Installing_Bacula.html#SECTION001490000000000000000">Quick Start</A>
<LI><A NAME="tex2html1349"
  HREF="Installing_Bacula.html#SECTION0014100000000000000000">Configure Options</A>
<LI><A NAME="tex2html1350"
  HREF="Installing_Bacula.html#SECTION0014110000000000000000">Recommended Options for Most Systems</A>
<LI><A NAME="tex2html1351"
  HREF="Installing_Bacula.html#SECTION0014120000000000000000">Red Hat</A>
<LI><A NAME="tex2html1352"
  HREF="Installing_Bacula.html#SECTION0014130000000000000000">Solaris</A>
<LI><A NAME="tex2html1353"
  HREF="Installing_Bacula.html#SECTION0014140000000000000000">FreeBSD</A>
<LI><A NAME="tex2html1354"
  HREF="Installing_Bacula.html#SECTION0014150000000000000000">Win32</A>
<LI><A NAME="tex2html1355"
  HREF="Installing_Bacula.html#SECTION0014160000000000000000">One File Configure Script</A>
<LI><A NAME="tex2html1356"
  HREF="Installing_Bacula.html#SECTION0014170000000000000000">Installing Bacula</A>
<LI><A NAME="tex2html1357"
  HREF="Installing_Bacula.html#SECTION0014180000000000000000">Building a File Daemon or Client</A>
<LI><A NAME="tex2html1358"
  HREF="Installing_Bacula.html#SECTION0014190000000000000000">Auto Starting the Daemons</A>
<LI><A NAME="tex2html1359"
  HREF="Installing_Bacula.html#SECTION0014200000000000000000">Other Make Notes</A>
<LI><A NAME="tex2html1360"
  HREF="Installing_Bacula.html#SECTION0014210000000000000000">Installing Tray Monitor</A>
<UL>
<LI><A NAME="tex2html1361"
  HREF="Installing_Bacula.html#SECTION0014211000000000000000">GNOME</A>
<LI><A NAME="tex2html1362"
  HREF="Installing_Bacula.html#SECTION0014212000000000000000">KDE</A>
<LI><A NAME="tex2html1363"
  HREF="Installing_Bacula.html#SECTION0014213000000000000000">Other window managers</A>
</UL>
<BR>
<LI><A NAME="tex2html1364"
  HREF="Installing_Bacula.html#SECTION0014220000000000000000">Modifying the Bacula Configuration Files</A>
</UL>
<!--End of Table of Child-Links-->
<HR>

<H1><A NAME="SECTION001400000000000000000"></A>
<A NAME="InstallChapter"></A>
<BR>
Installing Bacula
</H1>
<A NAME="3013"></A>
<A NAME="3014"></A>

<P>
In general, you will need the Bacula source release, and if you want to run
a Windows client, you will need the Bacula Windows binary release.
However, Bacula needs certain third party packages (such as <B>MySQL</B>,
<B>PostgreSQL</B>, or <B>SQLite</B> to build and run
properly depending on the
options you specify.  Normally, <B>MySQL</B> and <B>PostgreSQL</B> are
packages that can be installed on your distribution.  However, if you do
not have them, to simplify your task, we have combined a number of these
packages into three <B>depkgs</B> releases (Dependency Packages).  This can
vastly simplify your life by providing you with all the necessary packages
rather than requiring you to find them on the Web, load them, and install
them.

<P>

<H1><A NAME="SECTION001410000000000000000">
Source Release Files</A>
</H1>
<A NAME="3022"></A>
<A NAME="3023"></A>
 Beginning with Bacula 1.38.0, the source code has been broken into
 four separate tar files each corresponding to a different module in
 the Bacula SVN. The released files are:

<P>
<DL>
<DT><STRONG>bacula-5.0.0.tar.gz</STRONG></DT>
<DD>This is the primary source code release for Bacula. On each
  release the version number (5.0.0) will be updated.

<P>
</DD>
<DT><STRONG>bacula-docs-5.0.0.tar.bz2</STRONG></DT>
<DD>This file contains a copy of the docs directory with the
  documents prebuild. English HTML directory, single HTML
  file, and pdf file. The French, German, Spanish translations
  are in progress, but are not built.

<P>
</DD>
<DT><STRONG>bacula-gui-5.0.0.tar.gz</STRONG></DT>
<DD>This file contains the non-core GUI programs. Currently,
  it contains bacula-web, a PHP program for producing management
  viewing of your Bacula job status in a browser; and bimagemgr
  a browser program for burning CDROM images with Bacula Volumes.

<P>
</DD>
<DT><STRONG>bacula-rescue-5.0.0.tar.gz</STRONG></DT>
<DD>This is the Bacula Rescue USB key code. Note, the version number
  of this package is not always tied to the Bacula release version, so
  it may be different.  Using this code, you can create a USB key
  with your system configuration and containing a statically
  linked version of the File daemon. This can permit you to easily
  repartition and reformat your hard disks and reload your
  system with Bacula in the case of a hard disk failure.

<P>
</DD>
<DT><STRONG>win32bacula-5.0.0.exe</STRONG></DT>
<DD>This file is the 32 bit Windows installer for installing
  the Windows client (File daemon) on a Windows machine.
  This client will also run on 64 bit Windows machines, but
  VSS support is not available if you are running a 64 bit
  version of Windows.  This installer installs only the FD, 
  the Director and Storage daemon are not included.

<P>
</DD>
<DT><STRONG>win64bacula-5.0.0.exe</STRONG></DT>
<DD>This file is the 64 bit Windows installer for installing
  the Windows client (File daemon) on a Windows machine.
  This client will only run on 64 bit Windows OS machines.
  It will not run on 32 bit machines or 32 bit Windows OSes.
  The win64bacula release is necessary for Volume Shadow
  Copy (VSS) to work on Win64 OSes.  This installer
  installs only the FD, the Director and Storage daemon
  are not included.

<P>
</DD>
</DL>

<P>
<A NAME="upgrading1"></A>
<H1><A NAME="SECTION001420000000000000000">
Upgrading Bacula</A>
</H1>
<A NAME="3028"></A>
<A NAME="3029"></A>
<A NAME="3030"></A>

<P>
If you are upgrading from one Bacula version to another, you should first
carefully read the ReleaseNotes of all major versions between your current
version and the version to which you are upgrading.  In many upgrades,
especially for minor patch upgrades (e.g. between 3.0.0 and 3.0.1) there
will be no database upgrade, and hence the process is rather simple.

<P>
With version 3.0.0 and later, you <B>must</B> ensure that on any one
machine that all components of Bacula are running on exactly the
same version.  Prior to version 3.0.0, it was possible to run a 
lower level FD with a newer Director and SD.  This is no longer the
case.  

<P>
As always, we attempt to support older File daemons. This avoids the
need to do a simultaneous upgrade of many machines. For exactly what
older versions of the FD are supported, please see the ReleaseNotes 
for the new version.  In any case, you must always upgrade both the
Director and the Storage daemon at the same time, and you must also
upgrade any File daemon that is running on the same machine as a Director
or a Storage daemon (see the prior paragraph).

<P>
If the Bacula catalog
database has been upgraded (as it is almost every major release), you will
either need to reinitialize your database starting from scratch (not
normally a good idea), or save an ASCII copy of your database, then proceed
to upgrade it. If you are upgrading two major versions (e.g. 1.36 to 2.0)
then life will be more complicated because you must do two database
upgrades. See below for more on this.

<P>
Upgrading the catalog is normally done after Bacula is build and installed
by:

<P>
<PRE>
cd &lt;installed-scripts-dir&gt; (default /etc/bacula)
./update_bacula_tables
</PRE>

<P>
This update script can also be find in the Bacula source src/cats
directory.

<P>
If there are several database upgrades between your version and the
version to which you are upgrading, you will need to apply each database
upgrade script. For your convenience, you can find all the old upgrade scripts
in the <B>upgradedb</B> directory of the source code. You will need to edit the
scripts to correspond to your system configuration. The final upgrade script,
if any, can be applied as noted above.

<P>
If you are upgrading from one major version to another, you will need to
replace all your components at the same time as generally the inter-daemon
protocol will change. However, within any particular release (e.g. version
1.32.x) unless there is an oversight or bug, the daemon protocol will not
change. If this is confusing, simply read the ReleaseNotes very carefully as
they will note if all daemons must be upgraded at the same time. 

<P>
Finally, please note that in general it is not necessary or desirable
to do a <B>make uninstall</B> before doing an upgrade providing you are careful
not to change the installation directories. In fact, if you do so, you will 
most likely delete all your conf files, which could be disastrous.
The normal procedure during an upgrade is simply:

<P>
<PRE>
./configure (your options)
make
make install
</PRE>

<P>
In general none of your existing .conf or .sql files will be overwritten,
and you must do both the <B>make</B> and <B>make install</B>  commands, a
<B>make install</B> without the preceding <B>make</B> will not work.

<P>
For additional information on upgrading, please see the Upgrading Bacula
Versionsupgrading in the Tips chapter of this manual.

<P>

<H1><A NAME="SECTION001430000000000000000">
Releases Numbering</A>
</H1>
<A NAME="3045"></A>
<A NAME="3046"></A>
Every Bacula release whether beta or production has a different number  
as well as the date of the release build. The numbering system follows
traditional Open Source conventions in that it is of the form.

<P>
<PRE>
major.minor.release
</PRE>

<P>
For example:
<PRE>
1.38.11
</PRE>

<P>
where each component (major, minor, patch) is a number.
The major number is currently 1 and normally does not change
very frequently.  The minor number starts at 0 and increases
each for each production release by 2 (i.e. it is always an
even number for a production release), and the patch number is
starts at zero each time the minor number changes.  The patch
number is increased each time a bug fix (or fixes) is released
to production.

<P>
So, as of this date (10 September 2006), the current production Bacula
release is version 1.38.11.  If there are bug fixes, the next release
will be 1.38.12 (i.e. the patch number has increased by one).

<P>
For all patch releases where the minor version number does not change,
the database and all the daemons will be compatible.  That means that
you can safely run a 1.38.0 Director with a 1.38.11 Client.  Of course,
in this case, the Director may have bugs that are not fixed. Generally,
within a minor release (some minor releases are not so minor), all
patch numbers are officially released to production. This means that while
the current Bacula version is 1.38.11, versions 1.38.0, 1.38.1, ... 1.38.10
have all been previously released.

<P>
When the minor number is odd, it indicates that the package is under 
development and thus may not be stable. For example, while the current 
production release of Bacula is currently 1.38.11, the current development
version is 1.39.22. All patch versions of the development code are 
available in the SVN (source repository).  However, not all patch versions
of the development code (odd minor version) are officially released. When
they are released, they are released as beta versions (see below for a
definition of what beta means for Bacula releases).                     

<P>
In general when the minor number increases from one production release
to the next (i.e. 1.38.x to 1.40.0), the catalog database must be upgraded,
the Director and Storage daemon must always be on the same minor release
number, and often (not always), the Clients must also be on the same minor
release. As often as possible, we attempt to make new releases that are
downwards compatible with prior clients, but this is not always possible.
You must check the release notes.  In general, you will have fewer problems
if you always run all the components on the same minor version number (i.e.
all either 1.38.x or 1.40.x but not mixed).

<P>
<A NAME="BetaReleases"></A>
<H1><A NAME="SECTION001440000000000000000">
Beta Releases</A>
</H1>
<A NAME="3053"></A>
Towards the end of the development cycle, which typically runs
one year from a major release to another, there will be several beta
releases of the development code prior to a production release.  
As noted above, beta versions always have odd minor version numbers
(e.g 1.37.x or 1.39.x). 
The purpose of the beta releases is to allow early adopter users to test
the new code.  Beta releases are made with the following considerations:

<P>

<UL>
<LI>The code passes the regression testing on FreeBSD, Linux, and Solaris
  machines.

<P>
</LI>
<LI>There are no known major bugs, or on the rare occasion that 
  there are, they will be documented or already in the bugs database.

<P>
</LI>
<LI>Some of the new code/features may not yet be tested.

<P>
</LI>
<LI>Bugs are expected to be found, especially in the new
  code before the final production release.

<P>
</LI>
<LI>The code will have been run in production in at least one small
  site (mine).

<P>
</LI>
<LI>The Win32 client will have been run in production at least
  one night at that small site.

<P>
</LI>
<LI>The documentation in the manual is unlikely to be complete especially
  for the new features, and the Release Notes may not be fully
  organized.

<P>
</LI>
<LI>Beta code is not generally recommended for everyone, but
  rather for early adopters.
</LI>
</UL>

<P>
<A NAME="Dependency"></A>
<H1><A NAME="SECTION001450000000000000000">
Dependency Packages</A>
</H1>
<A NAME="3058"></A>
<A NAME="3059"></A>

<P>
As discussed above, we have combined a number of third party packages that
Bacula might need into the <B>depkgs</B> release. You can,
of course, get the latest packages from the original authors or 
from your operating system supplier. The locations of
where we obtained the packages are in the README file in each package.
However, be aware that the packages in the depkgs files have been tested by us
for compatibility with Bacula. 

<P>
Typically, a dependency package will be named <B>depkgs-ddMMMyy.tar.gz</B>
where <B>dd</B> is the day we release it, <B>MMM</B>
is the abbreviated month (e.g. Jan), and <B>yy</B> is the year. An actual
example is: <B>depkgs-18Dec.tar.gz</B>. To install and build this package (if
needed), you do the following: 

<P>

<OL>
<LI>Create a <B>bacula</B> directory, into which you will place  both the
   Bacula source as well as the dependency package.  
</LI>
<LI>Detar the <B>depkgs</B> into the <B>bacula</B> directory.  
</LI>
<LI>cd bacula/depkgs  
</LI>
<LI>make 
</LI>
</OL>

<P>
Although the exact composition of the dependency packages may change from time
to time, the current makeup is the following: 

<P>

<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="CENTER" COLSPAN=1><B>3rd Party Package</B></TD>
<TD ALIGN="CENTER" COLSPAN=1><B>depkgs</B></TD>
<TD ALIGN="CENTER" COLSPAN=1><B>depkgs-qt</B></TD>
</TR>
<TR><TD ALIGN="LEFT">SQLite3</TD>
<TD ALIGN="CENTER" COLSPAN=1>X</TD>
<TD ALIGN="CENTER" COLSPAN=1>&nbsp;</TD>
</TR>
<TR><TD ALIGN="LEFT">mtx</TD>
<TD ALIGN="CENTER" COLSPAN=1>X</TD>
<TD ALIGN="CENTER" COLSPAN=1>&nbsp;</TD>
</TR>
<TR><TD ALIGN="LEFT">qt4</TD>
<TD ALIGN="CENTER" COLSPAN=1>&nbsp;</TD>
<TD ALIGN="CENTER" COLSPAN=1>X</TD>
</TR>
</TABLE>

<P>
Note, some of these packages are quite large, so that building them can be a
bit time consuming. The above instructions will build all the packages
contained in the directory. However, when building Bacula, it will take only
those pieces that it actually needs. 

<P>
Alternatively, you can make just the packages that are needed. For example, 

<P>
<PRE>
cd bacula/depkgs
make sqlite
</PRE>
<P>
will configure and build only the SQLite package. 

<P>
You should build the packages that you will require in <B>depkgs</B> a     
prior to configuring and building Bacula, since Bacula will need
them during the build process. 

<P>
Note, the <B>depkgs-qt</B> package is required for building bat, because 
bat is currently built with Qt version 4.3.4.  It can be built with other
Qt versions, but that almost always creates problems or introduces
instabilities.

<P>
You can build the depkgs-qt with the following:

<P>
<PRE>
cd bacula
tar xfvz depkgs-qt-28Jul09.tar.gz
cd depkgs-qt
make qt4
source qt4-path
</PRE>
<P>
Doing the <B>source qt4-path</B> defines the following environment
variables:

<P>
<PRE>
QTDIR
QTLIB
QTINC
</PRE>
<P>
Each one should point to a specific location in the depkgs-qt package
that you loaded.  It also puts the depkgs-qt/qt4/bin directory
on your path before all other directories.  This ensures that
the bat build will use your Qt 4.3.4 library rather than any that 
might be on your system.

<P>
Before running your Bacula build, please make sure that
<B>qmake-qt4</B> is not on your path.  If it is please rename it. If
you don't do this, Bacula will attempt to build with any Qt4 package
installed on your system rather than the one you just built.
If you logoff and log back in, you must re-source the depkgs-qt/qt4-patch
file before attempting to rebuild the bat part of Bacula.

<P>
For more information on the <B>depkgs-qt</B> package, please read the
INSTALL file in the main directory of that package. If you are going to 
build Qt4 using <B>depkgs-qt</B>, you must source the <B>qt4-paths</B> file
included in the package prior to building Bacula. Please read the INSTALL
file for more details.

<P>
Even if you do not use SQLite, you might find it worthwhile to build <B>mtx</B>
because the <B>tapeinfo</B> program that comes with it can often provide you
with valuable information about your SCSI tape drive (e.g. compression,
min/max block sizes, ...). Note, most distros provide <B>mtx</B> as part of 
their release.

<P>
The <B>depkgs1</B> package is depreciated and previously contained
readline, which should be available on all operating systems.

<P>
The <B>depkgs-win32</B> package is deprecated and no longer used in 
Bacula version 1.39.x and later. It was previously used to build
the native Win32 client program, but this program is now built on Linux
systems using cross-compiling.  All the tools and third party libraries
are automatically downloaded by executing the appropriate scripts.  See
src/win32/README.mingw32 for more details.

<P>

<H1><A NAME="SECTION001460000000000000000"></A>
<A NAME="Systems"></A>
<BR>
Supported Operating Systems
</H1>
<A NAME="3127"></A>
<A NAME="3128"></A>

<P>
Please see the 
 Supported Operating SystemsSupportedOSes section
of the QuickStart chapter of this manual. 

<P>

<H1><A NAME="SECTION001470000000000000000"></A>
<A NAME="Building"></A>
<BR>
Building Bacula from Source
</H1>
<A NAME="3133"></A>
<A NAME="3134"></A>

<P>
The basic installation is rather simple. 

<P>

<OL>
<LI>Install and build any <B>depkgs</B> as noted above. This
   should be unnecessary on most modern Operating Systems.

<P>
</LI>
<LI>Configure and install MySQL or PostgreSQL (if desired). 
   Installing and Configuring MySQL Phase IMySqlChapter or  
   Installing and Configuring PostgreSQL Phase
   IPostgreSqlChapter.  If you are installing from rpms, and are
   using MySQL, please be sure to install  <B>mysql-devel</B>, so that the MySQL
   header files are available  while compiling Bacula. In addition, the MySQL
   client  library <B>mysqlclient</B> requires the gzip compression library  <B>   libz.a</B> or <B>libz.so</B>. If you are using rpm packages,  these libraries are
   in the <B>libz-devel</B> package. On Debian  systems, you will need to load the
   <B>zlib1g-dev</B> package. If  you are not using rpms or debs, you will need to
   find the  appropriate package for your system.  

<P>
Note, if you already have a running MySQL or PostgreSQL on your system, you 
   can skip this phase provided that you have built the thread  safe libraries.
   And you have already installed the additional  rpms noted above.  

<P>
SQLite is not supported on Solaris. This is because it
   frequently fails with bus errors.  However SQLite3 may work.

<P>
</LI>
<LI>Detar the Bacula source code preferably into the <B>bacula</B>  directory
   discussed above.  

<P>
</LI>
<LI><B>cd</B> to the directory containing the source code.  

<P>
</LI>
<LI>./configure (with appropriate options as described below). Any
   path names you specify as options on the ./configure command line
   must be absolute paths and not relative.

<P>
</LI>
<LI>Check the output of ./configure very carefully, especially  the Install
   binaries and Install config directories.  If they are not correct,
   please rerun ./configure until they  are. The output from ./configure is
   stored in <B>config.out</B>  and can be re-displayed at any time without
   rerunning the  ./configure by doing <B>cat config.out</B>.  

<P>
</LI>
<LI>If after running ./configure once, you decide to change options  and
   re-run it, that is perfectly fine, but before re-running it,  you should run: 

<P>
<PRE>
      make distclean
</PRE>
<P>
so that you are sure to start from scratch and not have a  mixture of the two
options. This is because ./configure  caches much of the information. The <B>make distclean</B>  is also critical if you move the source directory from one 
machine to another. If the <B>make distclean</B> fails,  just ignore it and
continue on.  

<P>
</LI>
<LI>make  
   If you get errors while linking in the Storage daemon directory
   (src/stored), it is probably because you have not loaded the static
   libraries on your system.  I noticed this problem on a Solaris system.
   To correct it, make sure that you have not added <B>   - -enable-static-tools</B> to the <B>./configure</B> command.

<P>
If you skip this step (<B>make</B>) and proceed immediately to the <B>   make install</B> you are making two serious errors: 1.  your install will
   fail because Bacula requires a <B>make</B> before a <B>make install</B>.
   2.  you are depriving yourself of the chance to make sure there are no
   errors before beginning to write files to your system directories.

<P>
</LI>
<LI>make install  
   Please be sure you have done a <B>make</B> before entering this command,
   and that everything has properly compiled and linked without errors.

<P>
</LI>
<LI>If you are new to Bacula, we <B>strongly</B> recommend that you skip
   the next step and use the default configuration files, then run the
   example program in the next chapter, then come back and modify your
   configuration files to suit your particular needs.

<P>
</LI>
<LI>Customize the configuration files for each of the three daemons 
   (Directory, File, Storage) and for the Console program.  For the details
   of how to do this, please see Setting Up Bacula Configuration
   FilesConfigureChapter in the Configuration chapter of this manual.  We
   recommend that you start by modifying the default configuration files
   supplied, making the minimum changes necessary.  Complete customization
   can be done after you have Bacula up and running.  Please take care when
   modifying passwords, which were randomly generated, and the <B>Name</B>s
   as the passwords and names must agree between the configuration files
   for security reasons.  

<P>
<A NAME="CreateDatabase"></A></LI>
<LI>Create the Bacula MySQL database and tables
   (if using MySQL)
      Installing and Configuring MySQL Phase IImysql_phase2 or 
      create the Bacula PostgreSQL database and tables  
   Configuring PostgreSQL
   IIPostgreSQL_configure or alternatively  if you are using
   SQLite Installing and Configuring SQLite Phase IIphase2.  

<P>
</LI>
<LI>Start Bacula (<B>./bacula start</B>) Note. the next chapter  shows you
   how to do this in detail.  

<P>
</LI>
<LI>Interface with Bacula using the Console program  

<P>
</LI>
<LI>For the previous two items, please follow the instructions  in the 
   Running BaculaTutorialChapter chapter of  this manual,
   where you will run a simple backup and do a  restore. Do this before you make
   heavy modifications to the  configuration files so that you are sure that
   Bacula works  and are familiar with it. After that changing the conf files 
   will be easier.  

<P>
</LI>
<LI>If after installing Bacula, you decide to "move it", that is  to
   install it in a different set of directories, proceed  as follows:  

<P>
<PRE>
      make uninstall
      make distclean
      ./configure (your-new-options)
      make
      make install
</PRE>
<P>
</LI>
</OL>

<P>
If all goes well, the <B>./configure</B> will correctly determine which
operating system you are running and configure the source code appropriately.
Currently, FreeBSD, Linux (Red Hat), and Solaris are supported. The Bacula
client (File daemon) is reported to work with MacOS X 10.3 is if 
readline support is not enabled (default) when building the client.       

<P>
If you install Bacula on more than one system, and they are identical, you can
simply transfer the source tree to that other system and do a "make
install". However, if there are differences in the libraries or OS versions,
or you wish to install on a different OS, you should start from the original
compress tar file. If you do transfer the source tree, and you have previously
done a ./configure command, you MUST do: 

<P>
<PRE>
make distclean
</PRE>
<P>
prior to doing your new ./configure. This is because the GNU autoconf tools
cache the configuration, and if you re-use a configuration for a Linux machine
on a Solaris, you can be sure your build will fail. To avoid this, as
mentioned above, either start from the tar file, or do a "make distclean". 

<P>
In general, you will probably want to supply a more complicated <B>configure</B> statement to ensure that the modules you want are built and that
everything is placed into the correct directories. 

<P>
For example, on Fedora, Red Hat, or SuSE one could use the following: 

<P>
<PRE>
CFLAGS="-g -Wall" \
  ./configure \
    --sbindir=$HOME/bacula/bin \
    --sysconfdir=$HOME/bacula/bin \
    --with-pid-dir=$HOME/bacula/bin/working \
    --with-subsys-dir=$HOME/bacula/bin/working \
    --with-mysql \
    --with-working-dir=$HOME/bacula/bin/working \
    --with-dump-email=$USER
</PRE>
<P>
The advantage of using the above configuration to start is that
everything will be put into a single directory, which you can later delete
once you have run the examples in the next chapter and learned how Bacula
works. In addition, the above can be installed and run as non-root. 

<P>
For the developer's convenience, I have added a <B>defaultconfig</B> script to
the <B>examples</B> directory. This script contains the statements that you
would normally use, and each developer/user may modify them to suit his needs.
You should find additional useful examples in this directory as well. 

<P>
The <B><code>--</code>enable-conio</B> or <B><code>--</code>enable-readline</B> options are
useful because they provide a command line history, editing capability for the
Console program and tab completion on various option. If you have included
either option in the build, either the <B>termcap</B> or the <B>ncurses</B>
package will be needed to link. On most systems, including Red Hat and SuSE,
you should include the ncurses package.  If Bacula's configure process finds
the ncurses libraries, it will use those rather than the termcap library.  On
some systems, such as SuSE, the termcap library is not in the standard library
directory.  As a consequence, the option may be disabled or you may get an
error message such as:

<P>
<PRE>
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/.../ld:
cannot find -ltermcap
collect2: ld returned 1 exit status
</PRE>
<P>
while building the Bacula Console. In that case, you will need to set the <B>LDFLAGS</B> environment variable prior to building. 

<P>
<PRE>
export LDFLAGS="-L/usr/lib/termcap"
</PRE>
<P>
The same library requirements apply if you wish to use the readline subroutines
for command line editing, history and tab completion or if you are using a
MySQL library that requires encryption. If you need encryption, you can either
export the appropriate additional library options as shown above or,
alternatively, you can include them directly on the ./configure line as in:

<P>
<PRE>
LDFLAGS="-lssl -lcyrpto" \
   ./configure &lt;your-options&gt;
</PRE>
<P>
On some systems such as Mandriva, readline tends to
gobble up prompts, which makes it totally useless. If this happens to you, use
the disable option, or if you are using version 1.33 and above try using <B><code>--</code>enable-conio</B> to use a built-in readline replacement. You will still need
either the termcap or the ncurses library, but it is unlikely that the <B>conio</B>
package will gobble up prompts. 

<P>
readline is no longer supported after version 1.34.  The code within Bacula
remains, so it should be usable, and if users submit patches for it, we will
be happy to apply them.  However, due to the fact that each version of
readline seems to be incompatible with previous versions, and that there
are significant differences between systems, we can no longer afford to
support it.

<P>

<H1><A NAME="SECTION001480000000000000000"></A>
<A NAME="DB"></A>
<BR>
What Database to Use?
</H1>
<A NAME="3203"></A>
<A NAME="3204"></A>

<P>
Before building Bacula you need to decide if you want to use SQLite, MySQL, or
PostgreSQL. If you are not already running MySQL or PostgreSQL, you might
want to start by testing with SQLite (not supported on Solaris).
This will greatly simplify the setup for you
because SQLite is compiled into Bacula an requires no administration. It
performs well and is suitable for small to medium sized installations (maximum
10-20 machines). However, we should note that a number of users have
had unexplained database corruption with SQLite. For that reason, we
recommend that you install either MySQL or PostgreSQL for production
work.

<P>
If you wish to use MySQL as the Bacula catalog, please see the 
Installing and Configuring MySQLMySqlChapter chapter of
this manual. You will need to install MySQL prior to continuing with the
configuration of Bacula. MySQL is a high quality database that is very
efficient and is suitable for any sized installation. It is slightly more
complicated than SQLite to setup and administer because it has a number of
sophisticated features such as userids and passwords. It runs as a separate
process, is truly professional and can manage a database of any size. 

<P>
If you wish to use PostgreSQL as the Bacula catalog, please see the 
Installing and Configuring PostgreSQLPostgreSqlChapter
chapter of this manual. You will need to install PostgreSQL prior to
continuing with the configuration of Bacula. PostgreSQL is very similar to
MySQL, though it tends to be slightly more SQL92 compliant and has many more
advanced features such as transactions, stored procedures, and the such. It
requires a certain knowledge to install and maintain. 

<P>
If you wish to use SQLite as the Bacula catalog, please see 
Installing and Configuring SQLiteSqlLiteChapter chapter of
this manual. SQLite is not supported on Solaris.

<P>

<H1><A NAME="SECTION001490000000000000000">
Quick Start</A>
</H1>
<A NAME="3212"></A>
<A NAME="3213"></A>

<P>
There are a number of options and important considerations given below
that you can skip for the moment if you have not had any problems building
Bacula with a simplified configuration as shown above. 

<P>
If the ./configure process is unable to find specific libraries (e.g.    
libintl, you should ensure that the appropriate package is installed on
your system. Alternatively, if the package is installed in a non-standard
location (as far as Bacula is concerned), then there is generally an
option listed below (or listed with "./configure - -help" that will
permit you to specify the directory that should be searched. In other
cases, there are options that will permit you to disable to feature 
(e.g. - -disable-nls).

<P>
If you want to dive right into it, we recommend you skip to the next chapter,
and run the example program. It will teach you a lot about Bacula and as an
example can be installed into a single directory (for easy removal) and run as
non-root. If you have any problems or when you want to do a real installation,
come back to this chapter and read the details presented below. 

<P>

<H1><A NAME="SECTION0014100000000000000000"></A>
<A NAME="Options"></A>
<BR>
Configure Options
</H1>
<A NAME="3220"></A>
<A NAME="3221"></A>

<P>
The following command line options are available for <B>configure</B> to
customize your installation. 

<P>
<DL>
<DT><STRONG>-prefix=patch</STRONG></DT>
<DD><A NAME="3726"></A>
   This option is meant to allow you to direct where the architecture
   independent files should be placed.  However, we find this a somewhat
   vague concept, and so we have not implemented this option other than
   what ./configure does by default.  As a consequence, we suggest that
   you avoid it. We have provided options that allow you to explicitly
   specify the directories for each of the major categories of installation
   files.
</DD>
<DT><STRONG>-sbindir=binary-path</STRONG></DT>
<DD><A NAME="3727"></A>
   Defines where the Bacula  binary (executable) files will be placed during a
   <B>make  install</B> command.  

<P>
</DD>
<DT><STRONG>-sysconfdir=config-path</STRONG></DT>
<DD><A NAME="3728"></A>
   Defines where the Bacula configuration files should be placed during a
   <B>make install</B> command.

<P>
</DD>
<DT><STRONG>-mandir=path</STRONG></DT>
<DD><A NAME="3729"></A>
   Note, as of Bacula version 1.39.14, the meaning of any path
   specified on this option is change from prior versions. It
   now specifies the top level man directory.
   Previously the mandir specified the full path to where you
   wanted the man files installed.
   The man files will be installed in gzip'ed format under
   mandir/man1 and mandir/man8 as appropriate.
   For the install to succeed you must have <B>gzip</B> installed
   on your system.

<P>
By default, Bacula will install the Unix man pages in 
   /usr/share/man/man1 and /usr/share/man/man8.  
   If you wish the man page to be installed in
   a different location, use this option to specify the path.
   Note, the main HTML and PDF Bacula documents are in a separate
   tar file that is not part of the source distribution.

<P>
</DD>
<DT><STRONG>-datadir=path </STRONG></DT>
<DD><A NAME="3730"></A>
   If you translate Bacula or parts of Bacula into a different language
   you may specify the location of the po files using the <B>   -datadir</B> option. You must manually install any po files as
   Bacula does not (yet) automatically do so.

<P>
</DD>
<DT><STRONG>-disable-ipv6 </STRONG></DT>
<DD><A NAME="3732"></A>

<P>
</DD>
<DT><STRONG>-enable-smartalloc </STRONG></DT>
<DD><A NAME="3733"></A>
   This enables the inclusion of the Smartalloc orphaned buffer detection
   code.  This option is highly recommended.  Because we never build
   without this option, you may experience problems if it is not enabled.
   In this case, simply re-enable the option.  We strongly recommend
   keeping this option enabled as it helps detect memory leaks.  This
   configuration parameter is used while building Bacula

<P>
</DD>
<DT><STRONG>-enable-bat </STRONG></DT>
<DD><A NAME="enablebat"></A>   <A NAME="3734"></A>
   If you have Qt4 &gt;= 4.3.4 installed on your computer including the
   libqt4 and libqt4-devel (libqt4-dev on Debian) libraries, and you want
   to use the Bacula Administration Tool (bat) GUI Console interface to
   Bacula, you must specify this option.  Doing so will build everything in
   the <B>src/qt-console</B> directory.  The build with enable-bat will work
   only with a full Bacula build (i.e. it will not work with a client-only
   build). 

<P>
Qt4 is available on OpenSUSE 10.2, CentOS 5, Fedora, and Debian. If it
   is not available on your system, you can download the <B>depkgs-qt</B>
   package from the Bacula Source Forge download area and build it.
   See the
   INSTALL file in that package for more details. In particular to use
   the Qt4 built by <B>depkgs-qt</B> you <B>must</B> source the file
   <B>qt4-paths</B>.

<P>
</DD>
<DT><STRONG>-enable-batch-insert </STRONG></DT>
<DD><A NAME="3735"></A>
   This option enables batch inserts of the attribute records (default) in
    the catalog database, which is much faster (10 times or more) than
   without this option for large numbers of files. However, this option
   will automatically be disabled if your SQL libraries are not
   thread safe. If you find that batch mode is not enabled on your Bacula
   installation, then your database most likely does not support threads.

<P>
SQLite2 is not thread safe.  Batch insert cannot be enabled when using
   SQLite2

<P>
On most systems, MySQL, PostgreSQL and SQLite3 are thread safe.

<P>
To verify that your PostgreSQL is thread safe, you can try this
   (change the path to point to your particular installed libpq.a;
   these commands were issued on FreeBSD 6.2):

<P>
<PRE>
$ nm /usr/local/lib/libpq.a | grep PQputCopyData
00001b08 T PQputCopyData
$ nm /usr/local/lib/libpq.a | grep mutex
         U pthread_mutex_lock
         U pthread_mutex_unlock
         U pthread_mutex_init
         U pthread_mutex_lock
         U pthread_mutex_unlock
</PRE>

<P>
The above example shows a libpq that contains the required function
   PQputCopyData and is thread enabled (i.e. the pthread_mutex* entries).
   If you do not see PQputCopyData, your version of PostgreSQL is too old
   to allow batch insert.  If you do not see the mutex entries, then thread
   support has not been enabled. Our tests indicate you usually need to
   change the configuration options and recompile/reinstall the PostgreSQL
   client software to get thread support.

<P>
Bacula always links to the thread safe MySQL libraries.

<P>
Running with Batch Insert turned on is recommended because it can
   significantly improve attribute insertion times. However, it does 
   put a significantly larger part of the work on your SQL engine, so
   you may need to pay more attention to tuning it. In particular,   
   Batch Insert can require large temporary table space, and consequently,
   the default location (often /tmp) may run out of space causing errors.
   For MySQL, the location is set in my.conf with "tmpdir".  You may also
   want to increase the memory available to your SQL engine to further
   improve performance during Batch Inserts.

<P>
</DD>
<DT><STRONG>-enable-bwx-console </STRONG></DT>
<DD><A NAME="3736"></A>
   If you have wxWidgets installed on your computer and you want to use the
   wxWidgets GUI Console interface to Bacula, you must specify this option.
   Doing so will build everything in the <B>src/wx-console</B> directory.
   This could also be useful to users who want a GUI Console and don't want
   to install QT, as wxWidgets can work with GTK+, Motif or even X11
   libraries.

<P>
</DD>
<DT><STRONG>-enable-tray-monitor </STRONG></DT>
<DD><A NAME="3737"></A>
   If you have GTK installed on your computer, you run a graphical
   environment or a window manager compatible with the FreeDesktop system
   tray standard (like KDE and GNOME) and you want to use a GUI to monitor
   Bacula daemons, you must specify this option.  Doing so will build
   everything in the <B>src/tray-monitor</B> directory. Note, due to 
   restrictions on what can be linked with GPLed code, we were forced to
   remove the egg code that dealt with the tray icons and replace it by
   calls to the GTK+ API, and unfortunately, the tray icon API necessary
   was not implemented until GTK version 2.10 or later.

<P>
</DD>
<DT><STRONG>-enable-static-tools</STRONG></DT>
<DD><A NAME="3738"></A>
   This option causes the linker to link the Storage daemon utility tools
   (<B>bls</B>, <B>bextract</B>, and <B>bscan</B>) statically.  This permits
   using them without having the shared libraries loaded.  If you have
   problems linking in the <B>src/stored</B> directory, make sure you have
   not enabled this option, or explicitly disable static linking by adding
   <B><code>--</code>disable-static-tools</B>.

<P>
</DD>
<DT><STRONG>-enable-static-fd</STRONG></DT>
<DD><A NAME="3739"></A>
   This option causes the make process to build a <B>static-bacula-fd</B> in
   addition to the standard File daemon.  This static version will include
   statically linked libraries and is required for the Bare Metal recovery.
   This option is largely superseded by using <B>make static-bacula-fd</B>
   from with in the <B>src/filed</B> directory.  Also, the <B>   <code>--</code>enable-client-only</B> option described below is useful for just
   building a client so that all the other parts of the program are not
   compiled.   

<P>
When linking a static binary, the linker needs the static versions
   of all the libraries that are used, so frequently users will 
   experience linking errors when this option is used. The first 
   thing to do is to make sure you have the static glibc library 
   installed on your system. The second thing to do is the make sure
   you do not specify <B>-openssl</B> or <B>-with-python</B>
   on your ./configure statement as these options require additional
   libraries. You may be able to enable those options, but you will
   need to load additional static libraries.

<P>
</DD>
<DT><STRONG>-enable-static-sd</STRONG></DT>
<DD><A NAME="3742"></A>
   This option causes the make process to build a <B>static-bacula-sd</B> in
   addition to the standard Storage daemon.  This static version will
   include statically linked libraries and could be useful during a Bare
   Metal recovery.

<P>
When linking a static binary, the linker needs the static versions
   of all the libraries that are used, so frequently users will 
   experience linking errors when this option is used. The first 
   thing to do is to make sure you have the static glibc library 
   installed on your system. The second thing to do is the make sure
   you do not specify <B>-openssl</B> or <B>-with-python</B>
   on your ./configure statement as these options require additional
   libraries. You may be able to enable those options, but you will
   need to load additional static libraries.

<P>
</DD>
<DT><STRONG>-enable-static-dir</STRONG></DT>
<DD><A NAME="3745"></A>
   This option causes the make process to build a <B>static-bacula-dir</B>
   in addition to the standard Director.  This static version will include
   statically linked libraries and could be useful during a Bare Metal
   recovery.

<P>
When linking a static binary, the linker needs the static versions
   of all the libraries that are used, so frequently users will 
   experience linking errors when this option is used. The first 
   thing to do is to make sure you have the static glibc library 
   installed on your system. The second thing to do is the make sure
   you do not specify <B>-openssl</B> or <B>-with-python</B>
   on your ./configure statement as these options require additional
   libraries. You may be able to enable those options, but you will
   need to load additional static libraries.

<P>
</DD>
<DT><STRONG>-enable-static-cons</STRONG></DT>
<DD><A NAME="3748"></A>
   This option causes the make process to build a <B>static-console</B> in
   addition to the standard console.  This static version will include
   statically linked libraries and could be useful during a Bare Metal
   recovery.

<P>
When linking a static binary, the linker needs the static versions
   of all the libraries that are used, so frequently users will 
   experience linking errors when this option is used. The first 
   thing to do is to make sure you have the static glibc library 
   installed on your system. The second thing to do is the make sure
   you do not specify <B>-openssl</B> or <B>-with-python</B>
   on your ./configure statement as these options require additional
   libraries. You may be able to enable those options, but you will
   need to load additional static libraries.

<P>
</DD>
<DT><STRONG>-enable-client-only</STRONG></DT>
<DD><A NAME="3751"></A>
   This option causes the make process to build only the File daemon and
   the libraries that it needs.  None of the other daemons, storage tools,
   nor the console will be built.  Likewise a <B>make install</B> will then
   only install the File daemon.  To cause all daemons to be built, you
   will need to do a configuration without this option.  This option
   greatly facilitates building a Client on a client only machine.

<P>
When linking a static binary, the linker needs the static versions
   of all the libraries that are used, so frequently users will 
   experience linking errors when this option is used. The first 
   thing to do is to make sure you have the static glibc library 
   installed on your system. The second thing to do is the make sure
   you do not specify <B>-openssl</B> or <B>-with-python</B>
   on your ./configure statement as these options require additional
   libraries. You may be able to enable those options, but you will
   need to load additional static libraries.

<P>
</DD>
<DT><STRONG>-enable-build-dird</STRONG></DT>
<DD><A NAME="3754"></A>
   This option causes the make process to build the Director and the
   Director's tools. By default, this option is on, but you may turn
   it off by using <B>-disable-build-dird</B> to prevent the
   Director from being built.

<P>
</DD>
<DT><STRONG>-enable-build-stored</STRONG></DT>
<DD><A NAME="3756"></A>
   This option causes the make process to build the Storage daemon.
   By default, this option is on, but you may turn
   it off by using <B>-disable-build-stored</B> to prevent the
   Storage daemon from being built.

<P>
</DD>
<DT><STRONG>-enable-largefile</STRONG></DT>
<DD><A NAME="3758"></A>
   This option (default) causes  Bacula to be built with 64 bit file address
   support if it  is available on your system. This permits Bacula to read and 
   write files greater than 2 GBytes in size. You may disable this  feature and
   revert to 32 bit file addresses by using  <B><code>--</code>disable-largefile</B>.  

<P>
</DD>
<DT><STRONG>-disable-nls</STRONG></DT>
<DD><A NAME="3759"></A>
   By default, Bacula uses the GNU Native Language Support (NLS) libraries. On
   some machines, these libraries may not be present or may not function 
   correctly (especially on non-Linux implementations). In such cases, you
   may specify <B>-disable-nls</B> to disable use of those libraries.
   In such a case, Bacula will revert to using English.

<P>
</DD>
<DT><STRONG>-disable-ipv6 </STRONG></DT>
<DD><A NAME="3761"></A>
   By default, Bacula enables IPv6 protocol. On some systems, the files
   for IPv6 may exist, but the functionality could be turned off in the
   kernel. In that case, in order to correctly build Bacula, you will
   explicitly need to use this option so that Bacula does not attempt
   to reference OS function calls that do not exist.

<P>
</DD>
<DT><STRONG>-with-sqlite3=sqlite3-path</STRONG></DT>
<DD><A NAME="3762"></A>
   This enables use of the SQLite version 3.x database.  The <B>   sqlite3-path</B> is not normally specified as Bacula looks for the
   necessary components in a standard location (<B>depkgs/sqlite3</B>).  See
   Installing and Configuring SQLiteSqlLiteChapter chapter of
   this manual for more details. SQLite3 is not supported on Solaris.

<P>
</DD>
<DT><STRONG>-with-mysql=mysql-path</STRONG></DT>
<DD><A NAME="3763"></A>
   This enables building of the Catalog services for Bacula.  It assumes
   that MySQL is running on your system, and expects it to be installed in
   the <B>mysql-path</B> that you specify.  Normally, if MySQL is installed
   in a standard system location, you can simply use <B>-with-mysql</B>
   with no path specification.  If you do use this option, please proceed
   to installing MySQL in the Installing and Configuring
   MySQLMySqlChapter chapter before proceeding with the configuration.

<P>
See the note below under the -with-postgresql item.

<P>
</DD>
<DT><STRONG>-with-postgresql=path</STRONG></DT>
<DD><A NAME="3765"></A>
   This provides an explicit path to the PostgreSQL libraries if Bacula
   cannot find it by default.  Normally to build with PostgreSQL, you would
   simply use <B>-with-postgresql</B>.

<P>
Note, for Bacula to be configured properly, you must specify one
   of the four database options supported.  That is:
   -with-sqlite, -with-sqlite3, -with-mysql, or
   -with-postgresql, otherwise the ./configure will fail.

<P>
</DD>
<DT><STRONG>-with-openssl=path</STRONG></DT>
<DD>This configuration option is necessary if you want to enable TLS (ssl),
   which encrypts the communications within       
   Bacula or if you want to use File Daemon PKI data encryption.
   Normally, the <B>path</B> specification is not necessary since
   the configuration searches for the OpenSSL libraries in standard system
   locations. However, you must ensure that all the libraries are
   loaded including <B>libssl-dev</B> or the equivalent on your
   system. Enabling OpenSSL in Bacula permits secure communications
   between the daemons and/or data encryption in the File daemon.
   For more information on using TLS, please see the
   Bacula TLS - Communications EncryptionCommEncryption chapter
   of this manual.
   For more information on using PKI data encryption, please see the
   Bacula PKI - Data EncryptionDataEncryption
   chapter of this manual.

<P>
If you get errors linking, you need to load the development libraries,
   or you need to disable SSL by setting without-openssl.

<P>
</DD>
<DT><STRONG>-with-python=path</STRONG></DT>
<DD><A NAME="3767"></A>
   This option enables Bacula support for Python.  If no path is supplied,
   configure will search the standard library locations for Python 2.2,
   2.3, 2.4, or 2.5.  If it cannot find the library, you will need to
   supply a path to your Python library directory.  Please see the
   Python chapterPythonChapter for the details of using Python
   scripting.

<P>
</DD>
<DT><STRONG>-with-libintl-prefix=DIR</STRONG></DT>
<DD><A NAME="3768"></A>
   This option may be used to tell Bacula to search DIR/include and
   DIR/lib for the libintl headers and libraries needed for Native
   Language Support (NLS).

<P>
</DD>
<DT><STRONG>-enable-conio</STRONG></DT>
<DD><A NAME="3769"></A>
   Tells Bacula to enable building the small, light weight readline
   replacement routine.  It is generally much easier to configure than
   readline, although, like readline, it needs either the termcap or
   ncurses library.

<P>
</DD>
<DT><STRONG>-with-readline=readline-path</STRONG></DT>
<DD><A NAME="3770"></A>
   Tells Bacula where <B>readline</B> is installed.  Normally, Bacula will
   find readline if it is in a standard library.  If it is not found and no
   -with-readline is specified, readline will be disabled.  This
   option affects the Bacula build.  Readline provides the Console program
   with a command line history and editing capability and is no longer
   supported, so you are on your own if you have problems.

<P>
</DD>
<DT><STRONG>-enable-readline</STRONG></DT>
<DD><A NAME="3771"></A>
   Tells Bacula to enable readline support.  It is normally disabled due to the
   large number of configuration  problems and the fact that the package seems to
   change in incompatible  ways from version to version.  

<P>
</DD>
<DT><STRONG>-with-tcp-wrappers=path</STRONG></DT>
<DD><A NAME="3772"></A>
   <A NAME="3460"></A>
   <A NAME="3461"></A>
   <A NAME="3462"></A>
   This specifies that you  want TCP wrappers (man hosts_access(5)) compiled in.
   The path is optional since  Bacula will normally find the libraries in the
   standard locations.  This option affects the Bacula build.  In specifying your
   restrictions in the <B>/etc/hosts.allow</B>  or <B>/etc/hosts.deny</B> files, do
   not use the <B>twist</B>  option (hosts_options(5)) or the Bacula process will
   be terminated. Note, when setting up your <B>/etc/hosts.allow</B>
   or <B>/etc/hosts.deny</B>, you must identify the Bacula daemon in
   question with the name you give it in your conf file rather than the
   name of the executable.

<P>
For more information on configuring and testing TCP wrappers, please  see the 
   Configuring and Testing TCP Wrapperswrappers  section
   in the Security Chapter.  

<P>
On SuSE, the libwrappers libraries needed to link Bacula are
   contained in the tcpd-devel package. On Red Hat, the package is named
   tcp_wrappers.

<P>
</DD>
<DT><STRONG>-with-archivedir=path </STRONG></DT>
<DD><A NAME="3773"></A>
   The directory used for disk-based backups.  Default value is /tmp.
   This parameter sets the default values in the bacula-dir.conf and bacula-sd.conf
   configuration files.  For example, it sets the Where directive for the
   default restore job and the Archive Device directive for the FileStorage
   device.

<P>
This option is designed primarily for use in regression testing.
   Most users can safely ignore this option.

<P>
</DD>
<DT><STRONG>-with-working-dir=working-directory-path </STRONG></DT>
<DD><A NAME="3774"></A>
   This option is mandatory and specifies a directory  into which Bacula may
   safely place files that  will remain between Bacula executions. For example, 
   if the internal database is used, Bacula will keep  those files in this
   directory.  This option is only used to modify the daemon  configuration
   files. You may also accomplish the same  thing by directly editing them later.
   The working directory  is not automatically created by the install process, so
   you  must ensure that it exists before using Bacula for the  first time. 

<P>
</DD>
<DT><STRONG>-with-base-port=port=number</STRONG></DT>
<DD><A NAME="3775"></A>
   In order to run,  Bacula needs three TCP/IP ports (one for the Bacula 
   Console, one for the Storage daemon, and one for the File daemon).  The <B>   <code>--</code>with-baseport</B> option will automatically assign three  ports beginning at
   the base port address specified. You may  also change the port number in the
   resulting configuration  files. However, you need to take care that the
   numbers  correspond correctly in each of the three daemon configuration 
   files. The default base port is 9101, which assigns ports 9101  through 9103.
   These ports (9101, 9102, and 9103) have been  officially assigned to Bacula by
   IANA.  This option is only used  to modify the daemon configuration files. You
   may also accomplish  the same thing by directly editing them later. 

<P>
</DD>
<DT><STRONG>-with-dump-email=email-address</STRONG></DT>
<DD><A NAME="3776"></A>
   This option specifies  the email address where any core dumps should be set.
   This option  is normally only used by developers.  

<P>
</DD>
<DT><STRONG>-with-pid-dir=PATH  </STRONG></DT>
<DD><A NAME="3777"></A>
   This specifies where Bacula should place the process id  file during
   execution. The default is: <B>/var/run</B>.  This directory is not created by
   the install process, so  you must ensure that it exists before using Bacula
   the  first time.  

<P>
</DD>
<DT><STRONG>-with-subsys-dir=PATH</STRONG></DT>
<DD><A NAME="3778"></A>
   This specifies where Bacula should place the subsystem lock  file during
   execution. The default is <B>/var/run/subsys</B>.  Please make sure that you do
   not specify the same directory  for this directory and for the <B>sbindir</B>
   directory.  This directory is used only within the autostart scripts.  The
   subsys directory is not created by the Bacula install,  so you must be sure to
   create it before using Bacula. 

<P>
</DD>
<DT><STRONG>-with-dir-password=Password</STRONG></DT>
<DD><A NAME="3779"></A>
   This option allows you to specify the password used to  access the Director
   (normally from the Console program).  If it is not specified, configure will
   automatically create a random  password.  

<P>
</DD>
<DT><STRONG>-with-fd-password=Password </STRONG></DT>
<DD><A NAME="3780"></A>
   This option allows you to specify the password used to  access the File daemon
   (normally called from the Director).  If it is not specified, configure will
   automatically create a random  password.  

<P>
</DD>
<DT><STRONG>-with-sd-password=Password </STRONG></DT>
<DD><A NAME="3781"></A>
   This option allows you to specify the password used to access the Storage daemon
   (normally called from the Director).  If it is not specified, configure will
   automatically create a random  password.  

<P>
</DD>
<DT><STRONG>-with-dir-user=User </STRONG></DT>
<DD><A NAME="3782"></A>
   This option allows you to specify the Userid used to run the Director.  The
   Director must be started as root, but doesn't need to run as root, and
   after doing preliminary initializations, it can "drop" to the UserId
   specified on this option.  
   If you specify this option, you must
   create the User prior to running <B>make install</B>, because the
   working directory owner will be set to <B>User</B>.

<P>
</DD>
<DT><STRONG>-with-dir-group=Group </STRONG></DT>
<DD><A NAME="3783"></A>
   This option allows you to specify the GroupId used to  run the Director. The
   Director must be started as root, but  doesn't need to run as root, and  after
   doing preliminary initializations, it can "drop"  to the GroupId specified
   on this option. 
   If you specify this option, you must
   create the Group prior to running <B>make install</B>, because the
   working directory group will be set to <B>Group</B>.

<P>
</DD>
<DT><STRONG>-with-sd-user=User </STRONG></DT>
<DD><A NAME="3784"></A>
   This option allows you to specify the Userid used to  run the Storage daemon.
   The Storage daemon must be started as root, but  doesn't need to run as root,
   and  after doing preliminary initializations, it can "drop"  to the UserId
   specified on this option. If you use this option,  you will need to take care
   that the Storage daemon has access  to all the devices (tape drives, ...) that
   it needs. 

<P>
</DD>
<DT><STRONG>-with-sd-group=Group </STRONG></DT>
<DD><A NAME="3785"></A>
   This option allows you to specify the GroupId used to  run the Storage daemon.
   The Storage daemon must be started as root, but  doesn't need to run as root,
   and  after doing preliminary initializations, it can "drop"  to the GroupId
   specified on this option. 

<P>
</DD>
<DT><STRONG>-with-fd-user=User </STRONG></DT>
<DD><A NAME="3786"></A>
   This option allows you to specify the Userid used to  run the File daemon. The
   File daemon must be started as root,  and in most cases, it needs to run as
   root, so this option is  used only in very special cases,  after doing
   preliminary initializations, it can "drop"  to the UserId specified on this
   option. 

<P>
</DD>
<DT><STRONG>-with-fd-group=Group </STRONG></DT>
<DD><A NAME="3787"></A>
   This option allows you to specify the GroupId used to  run the File daemon.
   The File daemon must be started as root, and  in most cases, it must be run as
   root, however,  after doing preliminary initializations, it can "drop"  to
   the GroupId specified on this option. 

<P>
</DD>
<DT><STRONG>-with-mon-dir-password=Password</STRONG></DT>
<DD><A NAME="3788"></A>
   This option allows you to specify the password used to  access the Directory
   from the monitor.  If it is not specified, configure will
   automatically create a random  password.  

<P>
</DD>
<DT><STRONG>-with-mon-fd-password=Password </STRONG></DT>
<DD><A NAME="3789"></A>
   This option allows you to specify the password used to  access the File daemon
   from the Monitor.  If it is not specified, configure will
   automatically create a random  password.  

<P>
</DD>
<DT><STRONG>-with-mon-sd-password=Password </STRONG></DT>
<DD><A NAME="3790"></A>
   This option allows you to specify the password used to  access the
   Storage daemon from the Monitor. If it is not specified, configure will
   automatically create a random  password.  

<P>
</DD>
<DT><STRONG>-with-db-name=database-name </STRONG></DT>
<DD><A NAME="3791"></A>
   This option allows you to specify the database name to be used in
   the conf files.  The default is bacula.

<P>
</DD>
<DT><STRONG>-with-db-user=database-user </STRONG></DT>
<DD><A NAME="3792"></A>
   This option allows you to specify the database user name to be used in
   the conf files.  The default is bacula.

<P>
</DD>
</DL>

<P>
Note, many other options are presented when you do a <B>./configure
<code>--</code>help</B>, but they are not implemented.

<P>

<H1><A NAME="SECTION0014110000000000000000">
Recommended Options for Most Systems</A>
</H1>
<A NAME="3601"></A>
<A NAME="3602"></A>

<P>
For most systems, we recommend starting with the following options: 

<P>
<PRE>
./configure \
  --enable-smartalloc \
  --sbindir=$HOME/bacula/bin \
  --sysconfdir=$HOME/bacula/bin \
  --with-pid-dir=$HOME/bacula/bin/working \
  --with-subsys-dir=$HOME/bacula/bin/working \
  --with-mysql=$HOME/mysql \
  --with-working-dir=$HOME/bacula/working
</PRE>
<P>
If you want to install Bacula in an installation directory rather than run it
out of the build directory (as developers will do most of the time), you
should also include the <code>--</code>sbindir and <code>--</code>sysconfdir options with appropriate
paths. Neither are necessary if you do not use "make install" as is the case
for most development work. The install process will create the sbindir and
sysconfdir if they do not exist, but it will not automatically create the
pid-dir, subsys-dir, or working-dir, so you must ensure that they exist before
running Bacula for the first time.

<P>

<H1><A NAME="SECTION0014120000000000000000">
Red Hat</A>
</H1>
<A NAME="3606"></A>

<P>
Using SQLite: 

<P>
<PRE>
 
CFLAGS="-g -Wall" ./configure \
  --sbindir=$HOME/bacula/bin \
  --sysconfdir=$HOME/bacula/bin \
  --enable-smartalloc \
  --with-sqlite=$HOME/bacula/depkgs/sqlite \
  --with-working-dir=$HOME/bacula/working \
  --with-pid-dir=$HOME/bacula/bin/working \
  --with-subsys-dir=$HOME/bacula/bin/working \
  --enable-bat \
  --enable-conio
</PRE>
<P>
or 

<P>
<PRE>
 
CFLAGS="-g -Wall" ./configure \
  --sbindir=$HOME/bacula/bin \
  --sysconfdir=$HOME/bacula/bin \
  --enable-smartalloc \
  --with-mysql=$HOME/mysql \
  --with-working-dir=$HOME/bacula/working
  --with-pid-dir=$HOME/bacula/bin/working \
  --with-subsys-dir=$HOME/bacula/bin/working
  --enable-conio
</PRE>
<P>
or finally, a completely traditional Red Hat Linux install: 

<P>
<PRE>
CFLAGS="-g -Wall" ./configure \
  --sbindir=/usr/sbin \
  --sysconfdir=/etc/bacula \
  --with-scriptdir=/etc/bacula \
  --enable-smartalloc \
  --enable-bat \
  --with-mysql \
  --with-working-dir=/var/bacula \
  --with-pid-dir=/var/run \
  --enable-conio
</PRE>
<P>
Note, Bacula assumes that /var/bacula, /var/run, and /var/lock/subsys exist so
it will not automatically create them during the install process. 

<P>

<H1><A NAME="SECTION0014130000000000000000">
Solaris</A>
</H1>
<A NAME="3614"></A>

<P>
To build Bacula from source, you will need the following installed on your
system (they are not by default): libiconv, gcc 3.3.2, stdc++, libgcc (for
stdc++ and gcc_s libraries), make 3.8 or later. 

<P>
You will probably also need to: Add /usr/local/bin to PATH and Add
/usr/ccs/bin to PATH for ar. 

<P>
It is possible to build Bacula on Solaris with the Solaris compiler, but
we recommend using GNU C++ if possible.  

<P>
A typical configuration command might look like:

<P>
<PRE>
#!/bin/sh
CFLAGS="-g" ./configure \
  --sbindir=$HOME/bacula/bin \
  --sysconfdir=$HOME/bacula/bin \
  --with-mysql=$HOME/mysql \
  --enable-smartalloc \
  --with-pid-dir=$HOME/bacula/bin/working \
  --with-subsys-dir=$HOME/bacula/bin/working \
  --with-working-dir=$HOME/bacula/working
</PRE>
<P>
As mentioned above, the install process will create the sbindir and sysconfdir
if they do not exist, but it will not automatically create the pid-dir,
subsys-dir, or working-dir, so you must ensure that they exist before running
Bacula for the first time.

<P>
Note, you may need to install the following packages to build Bacula
from source:
<PRE>
SUNWbinutils,
SUNWarc,
SUNWhea,
SUNWGcc,
SUNWGnutls
SUNWGnutls-devel
SUNWGmake
SUNWgccruntime
SUNWlibgcrypt
SUNWzlib
SUNWzlibs
SUNWbinutilsS
SUNWGmakeS
SUNWlibm

export 
PATH=/usr/bin::/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ucb:/usr/sbin
</PRE>
<P>
If you have installed special software not normally in the Solaris
libraries, such as OpenSSL, or the packages shown above, then you may need
to add <B>/usr/sfw/lib</B> to the library search path.  Probably the
simplest way to do so is to run:

<P>
<PRE>
setenv LDFLAGS "-L/usr/sfw/lib -R/usr/sfw/lib"
</PRE>
<P>
Prior to running the ./configure command.

<P>
Alternatively, you can set the LD_LIBARY_PATH and/or the LD_RUN_PATH
environment variables appropriately.

<P>
It is also possible to use the <B>crle</B> program to set the library
search path.  However, this should be used with caution.

<P>

<H1><A NAME="SECTION0014140000000000000000">
FreeBSD</A>
</H1>
<A NAME="3624"></A>

<P>
Please see: 
The FreeBSD Diaryhttp://www.freebsddiary.org/bacula.php for a
detailed description on how to make Bacula work on your system. In addition,
users of FreeBSD prior to 4.9-STABLE dated Mon Dec 29 15:18:01 2003 UTC who
plan to use tape devices, please see the 
Tape Testing ChapterFreeBSDTapes of this manual for
<B>important</B> information on how to configure your tape drive for
compatibility with Bacula. 

<P>
If you are using Bacula with MySQL, you should take care to compile MySQL with
FreeBSD native threads rather than LinuxThreads, since Bacula is normally built
with FreeBSD native threads rather than LinuxTreads. Mixing the two will
probably not work. 

<P>

<H1><A NAME="SECTION0014150000000000000000">
Win32</A>
</H1>
<A NAME="3631"></A>

<P>
To install the binary Win32 version of the File daemon please see the 
Win32 Installation ChapterWin32Chapter in this document. 

<P>

<H1><A NAME="SECTION0014160000000000000000">
One File Configure Script</A>
</H1>
<A NAME="3635"></A>
<A NAME="3636"></A>

<P>
The following script could be used if you want to put everything
in a single file:

<P>
<PRE>
#!/bin/sh
CFLAGS="-g -Wall" \
  ./configure \
    --sbindir=$HOME/bacula/bin \
    --sysconfdir=$HOME/bacula/bin \
    --mandir=$HOME/bacula/bin \
    --enable-smartalloc \
    --enable-bat \
    --enable-bwx-console \
    --enable-tray-monitor \
    --with-pid-dir=$HOME/bacula/bin/working \
    --with-subsys-dir=$HOME/bacula/bin/working \
    --with-mysql \
    --with-working-dir=$HOME/bacula/bin/working \
    --with-dump-email=$USER@your-site.com \
    --with-job-email=$USER@your-site.com \
    --with-smtp-host=mail.your-site.com
exit 0
</PRE>
<P>
You may also want to put the following entries in your <B>/etc/services</B>
file as it will make viewing the connections made by Bacula easier to
recognize (i.e. netstat -a): 

<P>
<PRE>
bacula-dir      9101/tcp
bacula-fd       9102/tcp
bacula-sd       9103/tcp
</PRE>
<P>

<H1><A NAME="SECTION0014170000000000000000">
Installing Bacula</A>
</H1>
<A NAME="3643"></A>
<A NAME="3644"></A>

<P>
Before setting up your configuration files, you will want to install Bacula in
its final location. Simply enter: 

<P>
<PRE>
make install
</PRE>
<P>
If you have previously installed Bacula, the old binaries will be overwritten,
but the old configuration files will remain unchanged, and the "new"
configuration files will be appended with a <B>.new</B>. Generally if you have
previously installed and run Bacula you will want to discard or ignore the
configuration files with the appended <B>.new</B>. 

<P>

<H1><A NAME="SECTION0014180000000000000000">
Building a File Daemon or Client</A>
</H1>
<A NAME="3650"></A>
<A NAME="3651"></A>

<P>
If you run the Director and the Storage daemon on one machine and you wish to
back up another machine, you must have a copy of the File daemon for that
machine. If the machine and the Operating System are identical, you can simply
copy the Bacula File daemon binary file <B>bacula-fd</B> as well as its
configuration file <B>bacula-fd.conf</B> then modify the name and password in
the conf file to be unique. Be sure to make corresponding additions to the
Director's configuration file (<B>bacula-dir.conf</B>). 

<P>
If the architecture or the OS level are different, you will need to build a
File daemon on the Client machine. To do so, you can use the same <B>./configure</B> command as you did for your main program, starting either from a
fresh copy of the source tree, or using <B>make distclean</B> before the <B>./configure</B>. 

<P>
Since the File daemon does not access the Catalog database, you can remove
the <B><code>--</code>with-mysql</B> or <B><code>--</code>with-sqlite</B> options, then
add <B><code>--</code>enable-client-only</B>.  This will compile only the
necessary libraries and the client programs and thus avoids the necessity
of installing one or another of those database programs to build the File
daemon.  With the above option, you simply enter <B>make</B> and just the
client will be built.

<P>
<A NAME="autostart"></A>
<H1><A NAME="SECTION0014190000000000000000">
Auto Starting the Daemons</A>
</H1>
<A NAME="3664"></A>
<A NAME="3665"></A>

<P>
If you wish the daemons to be automatically started and stopped when your
system is booted (a good idea), one more step is necessary. First, the
./configure process must recognize your system - that is it must be a
supported platform and not <B>unknown</B>, then you must install the platform
dependent files by doing: 

<P>
<PRE>
(become root)
make install-autostart
</PRE>
<P>
Please note, that the auto-start feature is implemented only on systems
that we officially support (currently, FreeBSD, Red Hat/Fedora Linux, and
Solaris), and has only been fully tested on Fedora Linux.

<P>
The <B>make install-autostart</B> will cause the appropriate startup scripts
to be installed with the necessary symbolic links.  On Red Hat/Fedora Linux
systems, these scripts reside in <B>/etc/rc.d/init.d/bacula-dir</B> <B>/etc/rc.d/init.d/bacula-fd</B>, and <B>/etc/rc.d/init.d/bacula-sd</B>.  However
the exact location depends on what operating system you are using.

<P>
If you only wish to install the File daemon, you may do so with: 

<P>
<PRE>
make install-autostart-fd
</PRE>
<P>

<H1><A NAME="SECTION0014200000000000000000">
Other Make Notes</A>
</H1>
<A NAME="3676"></A>
<A NAME="3677"></A>

<P>
To simply build a new executable in any directory, enter: 

<P>
<PRE>
make
</PRE>
<P>
To clean out all the objects and binaries (including the files named 1, 2, or
3, which are development temporary files), enter: 

<P>
<PRE>
make clean
</PRE>
<P>
To really clean out everything for distribution, enter: 

<P>
<PRE>
make distclean
</PRE>
<P>
note, this cleans out the Makefiles and is normally done from the top level
directory to prepare for distribution of the source. To recover from this
state, you must redo the <B>./configure</B> in the top level directory, since
all the Makefiles will be deleted. 

<P>
To add a new file in a subdirectory, edit the Makefile.in in that directory,
then simply do a <B>make</B>. In most cases, the make will rebuild the Makefile
from the new Makefile.in. In some case, you may need to issue the <B>make</B> a
second time. In extreme cases, cd to the top level directory and enter: <B>make Makefiles</B>. 

<P>
To add dependencies: 

<P>
<PRE>
make depend
</PRE>
<P>
The <B>make depend</B> appends the header file dependencies for each of the
object files to Makefile and Makefile.in. This command should be done in each
directory where you change the dependencies. Normally, it only needs to be run
when you add or delete source or header files. <B>make depend</B> is normally
automatically invoked during the configuration process. 

<P>
To install: 

<P>
<PRE>
make install
</PRE>
<P>
This not normally done if you are developing Bacula, but is used if you are
going to run it to backup your system. 

<P>
After doing a <B>make install</B> the following files will be installed on your
system (more or less). The exact files and location (directory) for each file
depends on your <B>./configure</B> command (e.g. if you are using SQLite instead
of MySQL, some of the files will be different).

<P>
NOTE: it is quite probable that this list is out of date.  But it is a
starting point.

<P>
<PRE>
bacula
bacula-dir
bacula-dir.conf
bacula-fd
bacula-fd.conf
bacula-sd
bacula-sd.conf
bacula-tray-monitor
tray-monitor.conf
bextract
bls
bscan
btape
btraceback
btraceback.gdb
bconsole
bconsole.conf
create_mysql_database
dbcheck
delete_catalog_backup
drop_bacula_tables
drop_mysql_tables
make_bacula_tables
make_catalog_backup
make_mysql_tables
mtx-changer
query.sql
bsmtp
startmysql
stopmysql
bwx-console
bwx-console.conf
9 man pages
</PRE>
<P>
<A NAME="monitor"></A>
<P>

<H1><A NAME="SECTION0014210000000000000000">
Installing Tray Monitor</A>
</H1>
<A NAME="3700"></A>
<A NAME="3701"></A>

<P>
The Tray Monitor is already installed if you used the <B><code>--</code>enable-tray-monitor</B> configure option and ran <B>make install</B>.

<P>
As you don't run your graphical environment as root (if you do, you should
change that bad habit), don't forget to allow your user to read <B>tray-monitor.conf</B>, and to execute <B>bacula-tray-monitor</B> (this is not a
security issue).

<P>
Then log into your graphical environment (KDE, GNOME or something else), run
<B>bacula-tray-monitor</B> as your user, and see if a cassette icon appears
somewhere on the screen, usually on the task bar.
If it doesn't, follow the instructions below related to your environment or
window manager. 

<P>

<H2><A NAME="SECTION0014211000000000000000">
GNOME</A>
</H2>
<A NAME="3708"></A>

<P>
System tray, or notification area if you use the GNOME terminology, has been
supported in GNOME since version 2.2. To activate it, right-click on one of
your panels, open the menu <B>Add to this Panel</B>, then <B>Utility</B> and
finally click on <B>Notification Area</B>. 

<P>

<H2><A NAME="SECTION0014212000000000000000">
KDE</A>
</H2>
<A NAME="3713"></A>

<P>
System tray has been supported in KDE since version 3.1. To activate it,
right-click on one of your panels, open the menu <B>Add</B>, then <B>Applet</B>
and finally click on <B>System Tray</B>. 

<P>

<H2><A NAME="SECTION0014213000000000000000">
Other window managers</A>
</H2>
<A NAME="3718"></A>
<A NAME="3719"></A>

<P>
Read the documentation to know if the Freedesktop system tray standard is
supported by your window manager, and if applicable, how to activate it. 

<P>

<H1><A NAME="SECTION0014220000000000000000">
Modifying the Bacula Configuration Files</A>
</H1>
<A NAME="3721"></A>
<A NAME="3722"></A>

<P>
See the chapter 
Configuring BaculaConfigureChapter in this manual for
instructions on how to set Bacula configuration files. 

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1338"
  HREF="Critical_Items_Implement_Be.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html1332"
  HREF="Bacula_Main_Reference.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html1326"
  HREF="Getting_Started_with_Bacula.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html1334"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html1336"
  HREF="Thanks.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1339"
  HREF="Critical_Items_Implement_Be.html">Critical Items to Implement</A>
<B> Up:</B> <A NAME="tex2html1333"
  HREF="Bacula_Main_Reference.html">Bacula Main Reference</A>
<B> Previous:</B> <A NAME="tex2html1327"
  HREF="Getting_Started_with_Bacula.html">Getting Started with Bacula</A>
 &nbsp; <B>  <A NAME="tex2html1335"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html1337"
  HREF="Thanks.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>

2012-01-24
</ADDRESS>
</BODY>
</HTML>