-2.0.3 (06 March 2007)
+2.0.4 (18 March 2007)
-2.0.3 (06 March 2007)
+2.0.4 (18 March 2007)
-img8.png\ 1./bimagemgr1.eps
-img15.png\ 1./win32-service.eps
-img9.png\ 1./bimagemgr2.eps
-img20.png\ 1./tray-icon.eps
+img28.png\ 1./properties-security-advanced-owner.eps
+img17.png\ 1./win32-service-ok.eps
img6.png\ 1./Conf-Diagram.eps
-img23.png\ 1./error.eps
+img10.png\ 1./bimagemgr3.eps
+img20.png\ 1./idle.eps
img3.png\ 1./bacula-objects.eps
-img22.png\ 1./running.eps
-img25.png\ 1./view-only.eps
-img12.png\ 1./win32-welcome.eps
-img21.png\ 1./menu.eps
+img8.png\ 1./bimagemgr1.eps
img2.png\ 1./bacula-applications.eps
-img26.png\ 1./properties-security.eps
+img24.png\ 1./error.eps
+img12.png\ 1./win32-nsis.eps
+img29.png\ 1./confirm.eps
+img13.png\ 1./win32-welcome.eps
+img27.png\ 1./properties-security.eps
+img19.png\ 1./win32-finish.eps
+img22.png\ 1./menu.eps
+img9.png\ 1./bimagemgr2.eps
+img16.png\ 1./win32-service.eps
+img15.png\ 1./win32-location.eps
img1.png\ 1./bacula-logo.eps
-img24.png\ 1./access-is-denied.eps
-img27.png\ 1./properties-security-advanced-owner.eps
-img5.png\ 1./Bacula-tray-monitor.eps
-img14.png\ 1./win32-location.eps
-img11.png\ 1./win32-nsis.eps
+img18.png\ 1./win32-start.eps
+img14.png\ 1./win32-pkg.eps
+img21.png\ 1./tray-icon.eps
+img25.png\ 1./access-is-denied.eps
img4.png\ 1./flow.eps
-img19.png\ 1./idle.eps
-img16.png\ 1./win32-service-ok.eps
-img17.png\ 1./win32-start.eps
-img10.png\ 1./bimagemgr3.eps
-img13.png\ 1./win32-pkg.eps
-img18.png\ 1./win32-finish.eps
-img28.png\ 1./confirm.eps
+img5.png\ 1./Bacula-tray-monitor.eps
+img26.png\ 1./view-only.eps
+img23.png\ 1./running.eps
\newcommand\lthtmlboxmathZ{\@next\next\@currlist{}{\def\next{\voidb@x}}%
\expandafter\box\next\egroup}%
\newcommand\lthtmlmathtype[1]{\gdef\lthtmlmathenv{#1}}%
-\newcommand\lthtmllogmath{\dimen0\ht\sizebox \advance\dimen0\dp\sizebox
- \ifdim\dimen0>.95\vsize
- \lthtmltypeout{%
-*** image for \lthtmlmathenv\space is too tall at \the\dimen0, reducing to .95 vsize ***}%
- \ht\sizebox.95\vsize \dp\sizebox\z@ \fi
- \lthtmltypeout{l2hSize %
+\newcommand\lthtmllogmath{\lthtmltypeout{l2hSize %
:\lthtmlmathenv:\the\ht\sizebox::\the\dp\sizebox::\the\wd\sizebox.\preveqno}}%
\newcommand\lthtmlfigureA[1]{\let\@savefreelist\@freelist
\lthtmlmathtype{#1}\lthtmlvboxmathA}%
% !!! IMAGES START HERE !!!
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28196}%
+\lthtmlpictureA{tex2html_wrap28596}%
\includegraphics{./bacula-logo.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28203}%
+\lthtmlpictureA{tex2html_wrap28603}%
\includegraphics{./bacula-applications.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28205}%
+\lthtmlpictureA{tex2html_wrap28605}%
\includegraphics{./bacula-objects.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28211}%
+\lthtmlpictureA{tex2html_wrap28611}%
\includegraphics{./flow.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28412}%
+\lthtmlpictureA{tex2html_wrap28812}%
\includegraphics{./Bacula-tray-monitor.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28551}%
+\lthtmlpictureA{tex2html_wrap28952}%
\includegraphics{./Conf-Diagram.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_inline6495}%
+\lthtmlinlinemathA{tex2html_wrap_inline6525}%
$2^{31}$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28721}%
+\lthtmlpictureA{tex2html_wrap29126}%
\includegraphics{./bimagemgr1.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28722}%
+\lthtmlpictureA{tex2html_wrap29127}%
\includegraphics{./bimagemgr2.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap28723}%
+\lthtmlpictureA{tex2html_wrap29128}%
\includegraphics{./bimagemgr3.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29152}%
+\lthtmlfigureA{figure29177}%
+\begin{figure}\vbox{\include{migration}
+}\end{figure}%
+\lthtmlfigureZ
+\lthtmlcheckvsize\clearpage}
+
+{\newpage\clearpage
+\lthtmlpictureA{tex2html_wrap29565}%
\includegraphics{./win32-nsis.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29153}%
+\lthtmlpictureA{tex2html_wrap29566}%
\includegraphics{./win32-welcome.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29154}%
+\lthtmlpictureA{tex2html_wrap29567}%
\includegraphics{./win32-pkg.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29155}%
+\lthtmlpictureA{tex2html_wrap29568}%
\includegraphics{./win32-location.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29156}%
+\lthtmlpictureA{tex2html_wrap29569}%
\includegraphics{./win32-service.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29157}%
+\lthtmlpictureA{tex2html_wrap29570}%
\includegraphics{./win32-service-ok.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29158}%
+\lthtmlpictureA{tex2html_wrap29571}%
\includegraphics{./win32-start.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29159}%
+\lthtmlpictureA{tex2html_wrap29572}%
\includegraphics{./win32-finish.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29160}%
+\lthtmlpictureA{tex2html_wrap29573}%
\includegraphics{./idle.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29161}%
+\lthtmlpictureA{tex2html_wrap29574}%
\includegraphics{./tray-icon.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29162}%
+\lthtmlpictureA{tex2html_wrap29575}%
\includegraphics{./menu.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29163}%
+\lthtmlpictureA{tex2html_wrap29576}%
\includegraphics{./running.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29164}%
+\lthtmlpictureA{tex2html_wrap29577}%
\includegraphics{./error.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29245}%
+\lthtmlpictureA{tex2html_wrap29661}%
\includegraphics{./access-is-denied.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29246}%
+\lthtmlpictureA{tex2html_wrap29662}%
\includegraphics{./view-only.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29247}%
+\lthtmlpictureA{tex2html_wrap29663}%
\includegraphics{./properties-security.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29248}%
+\lthtmlpictureA{tex2html_wrap29664}%
\includegraphics{./properties-security-advanced-owner.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlpictureA{tex2html_wrap29249}%
+\lthtmlpictureA{tex2html_wrap29665}%
\includegraphics{./confirm.eps}%
\lthtmlpictureZ
\lthtmlcheckvsize\clearpage}
+{\newpage\clearpage
+\lthtmlfigureA{figure29708}%
+\begin{figure}\vbox{\include{dataencryption}
+}\end{figure}%
+\lthtmlfigureZ
+\lthtmlcheckvsize\clearpage}
+
\end{document}
\item Any file-list item preceded by a less-than sign (\lt{}) will be taken
- to be a file. This file will be read on the Director's machine at the time
+ to be a file. This file will be read on the Director's machine (see
+ below for doing it on the Client machine) at the time
the Job starts, and the data will be assumed to be a list of directories or
files, one per line, to be included. The names should start in column 1 and
should not be quoted even if they contain spaces. This feature allows you to
\label{MonDef}
A Bacula Monitor service is the program that allows the
administrator or user to watch current status of Bacula Directors,
- Bacula File Daemons and Bacula Storage Daemons
- Currently, only a GTK+ version is available, which works with Gnome,
+ Bacula File Daemons and Bacula Storage Daemons.
+ Currently, only a GTK+ version is available, which works with GNOME,
KDE, or any window manager that supports the FreeDesktop.org system tray
standard.
keeping this option enabled as it helps detect memory leaks. This
configuration parameter is used while building Bacula
-\item [ {-}{-}enable-gnome ]
- \index[general]{{-}{-}enable-gnome}
+\item [ {-}{-}enable-GNOME ]
+ \index[general]{{-}{-}enable-GNOME}
If you have GNOME installed on your computer including the
- gnome development libraries, and you want to use the
+ GNOME development libraries, and you want to use the
GNOME GUI Console interface to Bacula, you must specify this option.
- Doing so will build everything in the {\bf src/gnome-console} directory.
+ Doing so will build everything in the {\bf src/GNOME-console} directory.
\item [ {-}{-}enable-wx-console ]
\index[general]{{-}{-}enable-wx-console}
wxWidgets GUI Console interface to Bacula, you must specify this option.
Doing so will build everything in the {\bf src/wx-console} directory.
This could also be useful to users who want a GUI Console and don't want
- to install Gnome, as wxWidgets can work with GTK+, Motif or even X11
+ to install GNOME, as wxWidgets can work with GTK+, Motif or even X11
libraries.
\item [ {-}{-}enable-static-cons]
\index[general]{{-}{-}enable-static-cons}
This option causes the make process to build a {\bf static-console} and
- a {\bf static-gnome-console} in addition to the standard console. This
+ a {\bf static-GNOME-console} in addition to the standard console. This
static version will include statically linked libraries and could be
useful during a Bare Metal recovery.
--with-working-dir=$HOME/bacula/working \
--with-pid-dir=$HOME/bacula/bin/working \
--with-subsys-dir=$HOME/bacula/bin/working \
- --enable-gnome \
+ --enable-GNOME \
--enable-conio
\end{verbatim}
\normalsize
--with-working-dir=$HOME/bacula/working
--with-pid-dir=$HOME/bacula/bin/working \
--with-subsys-dir=$HOME/bacula/bin/working
- --enable-gnome \
+ --enable-GNOME \
--enable-conio
\end{verbatim}
\normalsize
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
- --enable-gnome \
+ --enable-GNOME \
--with-mysql \
--with-working-dir=/var/bacula \
--with-pid-dir=/var/run \
--sysconfdir=$HOME/bacula/bin \
--mandir=$HOME/bacula/bin \
--enable-smartalloc \
- --enable-gnome \
+ --enable-GNOME \
--enable-wx-console \
--enable-tray-monitor \
--with-pid-dir=$HOME/bacula/bin/working \
After doing a {\bf make install} the following files will be installed on your
system (more or less). The exact files and location (directory) for each file
-depends on your {\bf ./configure} command (e.g. gnome-console and
-gnome-console.conf are not installed if you do not configure GNOME. Also, if
+depends on your {\bf ./configure} command (e.g. GNOME-console and
+GNOME-console.conf are not installed if you do not configure GNOME. Also, if
you are using SQLite instead of mysql, some of the files will be different).
\footnotesize
drop_bacula_tables
drop_mysql_tables
fd
-gnome-console
-gnome-console.conf
+GNOME-console
+GNOME-console.conf
make_bacula_tables
make_catalog_backup
make_mysql_tables
tray-monitor.conf}, and to execute {\bf bacula-tray-monitor} (this is not a
security issue).
-Then log into your graphical environment (KDE, Gnome or something else), run
+Then log into your graphical environment (KDE, GNOME or something else), run
{\bf bacula-tray-monitor} 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
Note, the restoration process using bscan is not identical to the original
-creation of the catalog data. This is because certain non-essential data such
+creation of the catalog data. This is because certain data such as Client
+records and other non-essential data such
as volume reads, volume mounts, etc is not stored on the Volume, and thus is
not restored by bscan. The results of bscanning are, however, perfectly valid,
and will permit restoration of any or all the files in the catalog using the
-normal Bacula console commands.
+normal Bacula console commands. If you are starting with an empty catalog
+and expecting bscan to reconstruct it, you may be a bit disappointed, but
+at a minimum, you must ensure that your bacula-dir.conf file is the same
+as what it previously was -- that is, it must contain all the appropriate
+Client resources so that they will be recreated in your new database {\bf
+before} running bscan. Normally when the Director starts, it will recreate
+any missing Client records in the catalog. Another problem you will have
+is that even if the Volumes (Media records) are recreated in the database,
+they will not have their autochanger status and slots properly set. As a
+result, you will need to repair that by using the {\bf update slots}
+command. There may be other considerations as well. Rather than
+bscanning, you should always attempt to recover you previous catalog
+backup.
+
\subsection{Using bscan to Compare a Volume to an existing Catalog}
\index[general]{Catalog!Using bscan to Compare a Volume to an existing}
week), and when more than one job uses the same schedule, the job priority
determines which actually runs first. If you have a lot of jobs, you might
want to use JobDefs, where you can set defaults for the jobs, which can
-then be changed int the job resource, but this saves rewriting the
+then be changed in the job resource, but this saves rewriting the
identical parameters for each job. In addition to the FileSets you want to
back up, you should also have a job that backs up your catalog.
./configure} command and by default is named {\bf bconsole.conf}.
If you choose to build the GNOME console with the {\bf
-\verb:--:enable-gnome} option, you also find a default configuration file
-for it, named {\bf gnome-console.conf}.
+\verb:--:enable-GNOME} option, you also find a default configuration file
+for it, named {\bf GNOME-console.conf}.
The same applies to the wxWidgets console, which is build with the {\bf
\verb:--:enable-wx-console} option, and the name of the default
./bacula-fd -t -c bacula-fd.conf
./bacula-sd -t -c bacula-sd.conf
./bconsole -t -c bconsole.conf
-./gnome-console -t -c gnome-console.conf
+./GNOME-console -t -c GNOME-console.conf
./wx-console -t -c wx-console.conf
su <normal user> -c "./bacula-tray-monitor -t -c tray-monitor.conf"
\end{verbatim}
\elink{wxWidgets}{http://www.wxwidgets.org/} (2.6.1). It works fine with the
Windows and GTK+-2.x version of wxWidgets, and should also work on other
platforms supported by wxWidgets.
-\item The Tray Monitor program is developed for GTK+-2.x. It needs Gnome less
+\item The Tray Monitor program is developed for GTK+-2.x. It needs GNOME less
or equal to 2.2, KDE greater or equal to 3.1 or any window manager supporting
the
\elink{ FreeDesktop system tray
%define mysql 0
OR
%define mysql4 0
- OR
- %define mysql5 0
+ OR
+ %define mysql5 0
\end{verbatim}
\normalsize
%define mysql 1
OR
%define mysql4 1
- OR
- %define mysql5 1
+ OR
+ %define mysql5 1
\end{verbatim}
\normalsize
\begin{verbatim}
rpmbuild -ba --define "build_rh7 1" --define "build_mysql 1" bacula.spec
rpmbuild -ba --define "build_rh7 1" --define "build_mysql4 1" bacula.spec
- rpmbuild -ba --define "build_rh7 1" --define "build_mysql5 1" bacula.spec
+ rpmbuild -ba --define "build_rh7 1" --define "build_mysql5 1" bacula.spec
\end{verbatim}
\normalsize
{\bf Is there an easier way than sorting out all these command line options?} Yes,
there is a gui wizard shell script which you can use to rebuild the src rpm package.
Look in the source archive for platforms/contrib-rpm/rpm\_wizard.sh. This script will
- allow you to specify build options using gnome dialog screens. It requires zenity.
+ allow you to specify build options using GNOME dialog screens. It requires zenity.
\item
\label{faq8}
X86-64 support:
--define "build_x86_64 1"
-Supress build of gnome console:
+Supress build of gnome-console:
--define "nobuild_gconsole 1"
Build the WXWindows console:
already adapted) for proper interfacing. You can find a list of
autochangers supported by {\bf mtx} at the following link:
\elink{http://mtx.opensource-sw.net/compatibility.php}
-{http://mtx.opensource-sw.net/compatibility.php}.
+{\url{http://mtx.opensource-sw.net/compatibility.php}}.
The home page for the {\bf mtx} project can be found at:
-\elink{http://mtx.opensource-sw.net/}{http://mtx.opensource-sw.net/}.
+\elink{http://mtx.opensource-sw.net/}{\url{http://mtx.opensource-sw.net/}}.
\addcontentsline{lot}{table}{Autochangers Known to Work with Bacula}
\index[general]{Drives!Supported Tape }
\index[general]{Supported Tape Drives }
+Bacula uses standard operating system calls (read, write, ioctl) to
+interface to tape drives. As a consequence, it relies on having a
+correctly written OS tape driver. Bacula is known to work perfectly well
+with SCSI tape drivers on FreeBSD, Linux, Solaris, and Windows machines,
+and it may work on other *nix machines, but we have not tested it.
+Recently there are many new drives that use IDE, ATAPI, or
+SATA interfaces rather than SCSI. On Linux the OnStream drive, which uses
+the OSST driver is one such
+example, and it is known to work with Bacula. In addition a number of such
+tape drives (i.e. OS drivers) seem to work on Windows systems. However,
+non-SCSI tape drives (other than the OnStream) that use ide-scis, ide-tape,
+or other non-scsi drivers do not function correctly with Bacula (or any
+other demanding tape application) as of today (April 2007). If you
+have purchased a non-SCSI tape drive for use with Bacula on Linux, there
+is a good chance that it will not work. We are working with the kernel
+developers to rectify this situation, but it will not be resolved in the
+near future.
+
Even if your drive is on the list below, please check the
\ilink{Tape Testing Chapter}{btape1} of this manual for
procedures that you can use to verify if your tape drive will work with
This tip was provided by Alexander Kuehn.
-\elink{Bacula}{http://www.bacula.org/} is a really nice backup program except
+\elink{Bacula}{\url{http://www.bacula.org/}} is a really nice backup program except
that the manual tape changing requires user interaction with the bacula
console.
Bacula supports a variety of tape changers through the use of mtx-changer
scripts/programs. This highly flexible approach allowed me to create
-\elink{this shell script}{http://www.bacula.org/rel-manual/mtx-changer.txt} which does the following:
+\elink{this shell script}{\url{http://www.bacula.org/rel-manual/mtx-changer.txt}} which does the following:
% TODO: We need to include this in book appendix and point to it.
% TODO:
Whenever a new tape is required it sends a mail to the operator to insert the
-2.0.3 (06 March 2007)
+2.0.4 (18 March 2007)
If turning off anti-virus software does not resolve your VSS
problems, you might have to turn on VSS debugging. The following
link describes how to do this:
-\elink{http://support.microsoft.com/kb/887013/en-us}{http://support.microsoft.com/kb/887013/en-us}.
+\elink{http://support.microsoft.com/kb/887013/en-us}{\url{http://support.microsoft.com/kb/887013/en-us}}.
The most likely source of problems is authentication when the Director
attempts to connect to the File daemon that you installed. This can occur if
It looks like Bart PE Builder, which creates a Windows PE (Pre-installation
Environment) Boot-CD, may be just what is needed to build a complete disaster
recovery system for Win32. This distribution can be found at
-\elink{http://www.nu2.nu/pebuilder/}{http://www.nu2.nu/pebuilder/}.
+\elink{http://www.nu2.nu/pebuilder/}{\url{http://www.nu2.nu/pebuilder/}}.
\section{Windows Restore Problems}
\index[general]{Problems!Windows Restore}
to cease the ownership of those files and thus change the permissions.
However, a much better solution to working with and changing Win32 permissions
is the program {\bf SetACL}, which can be found at
-\elink{http://setacl.sourceforge.net/}{http://setacl.sourceforge.net/}.
+\elink{http://setacl.sourceforge.net/}{\url{http://setacl.sourceforge.net/}}.
If you have not installed Bacula while running as Administrator
and if Bacula is not running as a Process with the userid (User Name) SYSTEM,
Some users like to shutdown their Windows machines after a backup using a
Client Run After Job directive. If you want to do something similar, you might
take the shutdown program from the
-\elink{apcupsd project}{http://www.apcupsd.com} or one from the
-\elink{Sysinternals project}{http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml}.
+\elink{apcupsd project}{\url{http://www.apcupsd.com}} or one from the
+\elink{Sysinternals project}
+{\url{http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml}}.