This chapter presents the new features that have been added to the next
Community version of Bacula that is not yet released.
-\chapter{New Features in 5.2.2}
+\section{New Features in 5.2.2}
This chapter presents the new features that have been added to the current
Community version of Bacula that is now released.
-\section{Additions to RunScript variables}
+\subsection{Additions to RunScript variables}
You can have access to Director name using \%D in your runscript
command.
RunAfterJob = "/bin/echo Director=%D
\end{verbatim}
-\chapter{New Features in 5.2.1}
+\section{New Features in 5.2.1}
This chapter presents the new features were added in the
Community release version 5.2.1.
that are described in another chapter. A subscription to Bacula Systems
is required for the Enterprise version.
-\section{LZO Compression}
+\subsection{LZO Compression}
LZO compression has been to the File daemon. From the user's point of view,
it works like the GZIP compression (just replace {\bf compression=GZIP} with
\medskip
The code for this feature was contributed by Laurent Papier.
-\section{New Tray Monitor}
+\subsection{New Tray Monitor}
Since the old integrated Windows tray monitor doesn't work with
recent Windows versions, we have written a new Qt Tray Monitor that is available
This project was funded by Bacula Systems and is available with Bacula
the Enterprise Edition and the Community Edition.
-\section{Purge Migration Job}
+\subsection{Purge Migration Job}
The new {\bf Purge Migration Job} directive may be added to the Migration
Job definition in the Director's configuration file. When it is enabled
This project was submitted by Dunlap Blake; testing and documentation was funded
by Bacula Systems.
-\section{Changes in Bvfs (Bacula Virtual FileSystem)}
+\subsection{Changes in Bvfs (Bacula Virtual FileSystem)}
Bat has now a bRestore panel that uses Bvfs to display files and
directories.
\medskip
This project was funded by Bacula Systems.
-\subsection*{General notes}
+\subsubsection*{General notes}
\begin{itemize}
\item All fields are separated by a tab
queries.
\end{itemize}
-\subsection*{Get dependent jobs from a given JobId}
+\subsubsection*{Get dependent jobs from a given JobId}
Bvfs allows you to query the catalog against any combination of jobs. You
can combine all Jobs and all FileSet for a Client in a single session.
With the \texttt{all} option, the Director will use all defined FileSet for
this client.
-\subsection*{Generating Bvfs cache}
+\subsubsection*{Generating Bvfs cache}
The \texttt{.bvfs\_update} command computes the directory cache for jobs
specified in argument, or for all jobs if unspecified.
You can run the cache update process in a RunScript after the catalog backup.
-\subsection*{Get all versions of a specific file}
+\subsubsection*{Get all versions of a specific file}
Bvfs allows you to find all versions of a specific file for a given Client with
the \texttt{.bvfs\_version} command. To avoid problems with encoding, this
1 47 52 12 gD HRid IGk D Po Po A P BAA I A /uPgWaxMgKZlnMti7LChyA Vol1 1
\end{verbatim}
-\subsection*{List directories}
+\subsubsection*{List directories}
Bvfs allows you to list directories in a specific path.
\begin{verbatim}
2 0 0 0 A A A A A A A A A A A A A A tmp/
\end{verbatim}
-\subsection*{List files}
+\subsubsection*{List files}
Bvfs allows you to list files in a specific path.
\begin{verbatim}
1 46 56 12 gD HRie IGk BAA I BMqe/K BMqcPE BMqe+3 D ficheriro2.txt
\end{verbatim}
-\subsection*{Restore set of files}
+\subsubsection*{Restore set of files}
Bvfs allows you to create a SQL table that contains files that you want to
restore. This table can be provided to a restore command with the file option.
OK
\end{verbatim}
-\subsection*{Cleanup after Restore}
+\subsubsection*{Cleanup after Restore}
To drop the table used by the restore command, you can use the
\texttt{.bvfs\_cleanup} command.
.bvfs_cleanup path=b20001
\end{verbatim}
-\subsection*{Clearing the BVFS Cache}
+\subsubsection*{Clearing the BVFS Cache}
To clear the BVFS cache, you can use the \texttt{.bvfs\_clear\_cache} command.
OK
\end{verbatim}
-\section{Changes in the Pruning Algorithm}
+\subsection{Changes in the Pruning Algorithm}
We rewrote the job pruning algorithm in this version. Previously, in some users
reported that the pruning process at the end of jobs was very long. It should
Job and the \texttt{prune jobs} Bconsole command. If a volume expires after the
\texttt{VolumeRetention} period, important jobs can be pruned.
-\section{Ability to Verify any specified Job}
+\subsection{Ability to Verify any specified Job}
You now have the ability to tell Bacula which Job should verify instead of
automatically verify just the last one.
This project was funded by Bacula Systems and is available with Bacula
Enterprise Edition and Community Edition.
-\section{Additions to RunScript variables}
+\subsection{Additions to RunScript variables}
You can have access to JobBytes and JobFiles using \%b and \%F in your runscript
command. The Client address is now available through \%h.
RunAfterJob = "/bin/echo Job=%j JobBytes=%b JobFiles=%F ClientAddress=%h"
\end{verbatim}
-%\section{Changes in drivetype.exe}
+%\subsection{Changes in drivetype.exe}
%
%Now the \texttt{drivetype.exe} program allows you to list all local hard
%drives. It can help to build dynamic FileSet on Windows.
%\end{verbatim}
%
-\section{Additions to the Plugin API}
+\subsection{Additions to the Plugin API}
The bfuncs structure has been extended to include a number of
new entrypoints.
-\subsection{bfuncs}
+\subsubsection{bfuncs}
The bFuncs structure defines the callback entry points within Bacula
that the plugin can use register events, get Bacula values, set
Bacula values, and send messages to the Job output or debug output.
\end{description}
-\subsection{Bacula events}
+\subsubsection{Bacula events}
The list of events has been extended to include:
\begin{verbatim}
for this purpose.
\end{description}
-\section{ACL enhancements}
+\subsection{ACL enhancements}
The following enhancements are made to the Bacula Filed with regards to
Access Control Lists (ACLs)
This project was funded by Planets Communications B.V. and ELM Consultancy B.V.
and is available with Bacula Enterprise Edition and Community Edition.
-\section{XATTR enhancements}
+\subsection{XATTR enhancements}
The following enhancements are made to the Bacula Filed with regards to
Extended Attributes (XATTRs)
This project was funded by Planets Communications B.V. and ELM Consultancy B.V.
and is available with Bacula Enterprise Edition and Community Edition.
-\section{Class Based Database Backend Drivers}
+\subsection{Class Based Database Backend Drivers}
The main Bacula Director code is independent of the SQL backend
in version 5.2.0 and greater. This means that the Bacula Director can be
Consultancy B.V. and Bacula Systems and is available with both the Bacula
Enterprise Edition and the Community Edition.
-\section{Hash List Enhancements}
+\subsection{Hash List Enhancements}
The htable hash table class has been extended with extra hash functions for
handling next to char pointer hashes also 32 bits and 64 bits hash keys.
%%
-\chapter{Release Version 5.0.3}
+\section{Release Version 5.0.3}
There are no new features in version 5.0.2. This version simply fixes a
number of bugs found in version 5.0.1 during the ongoing development
process.
-\chapter{Release Version 5.0.2}
+\section{Release Version 5.0.2}
There are no new features in version 5.0.2. This version simply fixes a
number of bugs found in version 5.0.1 during the ongoing development
%%
%%
-\chapter{New Features in 5.0.1}
+\section{New Features in 5.0.1}
This chapter presents the new features that are in the released Bacula version
5.0.1. This version mainly fixes a number of bugs found in version 5.0.0 during
the ongoing development process.
-\section{Truncate Volume after Purge}
+\subsection{Truncate Volume after Purge}
\label{sec:actiononpurge}
The Pool directive \textbf{ActionOnPurge=Truncate} instructs Bacula to truncate
\textbf{Important note}: This feature doesn't work as
expected in version 5.0.0. Please do not use it before version 5.0.1.
-\section{Allow Higher Duplicates}
+\subsection{Allow Higher Duplicates}
This directive did not work correctly and has been depreciated
(disabled) in version 5.0.1. Please remove it from your bacula-dir.conf
file as it will be removed in a future release.
-\section{Cancel Lower Level Duplicates}
+\subsection{Cancel Lower Level Duplicates}
This directive was added in Bacula version 5.0.1. It compares the
level of a new backup job to old jobs of the same name, if any,
and will kill the job which has a lower level than the other one.
nothing is done and the other Cancel XXX Duplicate directives
will be examined.
-\chapter{New Features in 5.0.0}
+\section{New Features in 5.0.0}
-\section{Maximum Concurrent Jobs for Devices}
+\subsection{Maximum Concurrent Jobs for Devices}
\label{sec:maximumconcurrentjobdevice}
{\bf Maximum Concurrent Jobs} is a new Device directive in the Storage
This project was funded by Bacula Systems.
-\section{Restore from Multiple Storage Daemons}
+\subsection{Restore from Multiple Storage Daemons}
\index[general]{Restore}
Previously, you were able to restore from multiple devices in a single Storage
This project was funded by Bacula Systems with the help of Equiinet.
-\section{File Deduplication using Base Jobs}
+\subsection{File Deduplication using Base Jobs}
A base job is sort of like a Full save except that you will want the FileSet to
contain only files that are unlikely to change in the future (i.e. a snapshot
of most of your system after installing it). After the base job has been run,
This project was funded by Bacula Systems.
-\section{AllowCompression = \lt{}yes\vb{}no\gt{}}
+\subsection{AllowCompression = \lt{}yes\vb{}no\gt{}}
\index[dir]{AllowCompression}
This new directive may be added to Storage resource within the Director's
This project was funded by Collaborative Fusion, Inc.
-\section{Accurate Fileset Options}
+\subsection{Accurate Fileset Options}
\label{sec:accuratefileset}
In previous versions, the accurate code used the file creation and modification
This project was funded by Bacula Systems.
-\section{Tab-completion for Bconsole}
+\subsection{Tab-completion for Bconsole}
\label{sec:tabcompletion}
If you build \texttt{bconsole} with readline support, you will be able to use
This project was funded by Bacula Systems.
-\section{Pool File and Job Retention}
+\subsection{Pool File and Job Retention}
\label{sec:poolfilejobretention}
We added two new Pool directives, \texttt{FileRetention} and
particular Client. Thus we suggest that you avoid using these two
directives until this implementation problem is corrected.
-\section{Read-only File Daemon using capabilities}
+\subsection{Read-only File Daemon using capabilities}
\label{sec:fdreadonly}
This feature implements support of keeping \textbf{ReadAll} capabilities after
UID/GID switch, this allows FD to keep root read but drop write permission.
The code for this feature was contributed by our friends at AltLinux.
-\section{Bvfs API}
+\subsection{Bvfs API}
\label{sec:bvfs}
To help developers of restore GUI interfaces, we have added new \textsl{dot
This project was funded by Bacula Systems.
-\section{Testing your Tape Drive}
+\subsection{Testing your Tape Drive}
\label{sec:btapespeed}
To determine the best configuration of your tape drive, you can run the new
You can change the block size in the Storage Daemon configuration file.
-\section{New {\bf Block Checksum} Device Directive}
+\subsection{New {\bf Block Checksum} Device Directive}
You may now turn off the Block Checksum (CRC32) code
that Bacula uses when writing blocks to a Volume. This is
done by adding:
drives or for disk Volumes where doing so may allow corrupted data
to go undetected.
-\section{New Bat Features}
+\subsection{New Bat Features}
Those new features were funded by Bacula Systems.
-\subsection{Media List View}
+\subsubsection{Media List View}
By clicking on ``Media'', you can see the list of all your volumes. You will be
able to filter by Pool, Media Type, Location,\dots And sort the result directly
\end{figure}
-\subsection{Media Information View}
+\subsubsection{Media Information View}
By double-clicking on a volume (on the Media list, in the Autochanger content
or in the Job information panel), you can access a detailed overview of your
\label{fig:mediainfo}
\end{figure}
-\subsection{Job Information View}
+\subsubsection{Job Information View}
By double-clicking on a Job record (on the Job run list or in the Media
information panel), you can access a detailed overview of your Job. (cf
\label{fig:jobinfo}
\end{figure}
-\subsection{Autochanger Content View}
+\subsubsection{Autochanger Content View}
By double-clicking on a Storage record (on the Storage list panel), you can
access a detailed overview of your Autochanger. (cf \ref{fig:jobinfo}.)
To use this feature, you need to use the latest mtx-changer script
version. (With new \texttt{listall} and \texttt{transfer} commands)
-\section{Bat on Windows}
+\subsection{Bat on Windows}
We have ported {\bf bat} to Windows and it is now installed
by default when the installer is run. It works quite well
on Win32, but has not had a lot of testing there, so your
installed by default, it does not yet work on 64 bit Windows
operating systems.
-\section{New Win32 Installer}
+\subsection{New Win32 Installer}
The Win32 installer has been modified in several very important
ways.
\begin{itemize}
Bacula Systems about this.
\end{itemize}
-\section{Win64 Installer}
+\subsection{Win64 Installer}
We have corrected a number of problems that required manual
editing of the conf files. In most cases, it should now
install and work. {\bf bat} is by default installed in
{\bf c:/Program Files/Bacula} as is the case with the 32
bit Windows installer.
-\section{Linux Bare Metal Recovery USB Key}
+\subsection{Linux Bare Metal Recovery USB Key}
We have made a number of significant improvements in the
Bare Metal Recovery USB key. Please see the README files
it the {\bf rescue} release for more details.
estimate 3Q2010 or 4Q2010)
-\section{bconsole Timeout Option}
+\subsection{bconsole Timeout Option}
You can now use the -u option of {\bf bconsole} to set a timeout in seconds
for commands. This is useful with GUI programs that use {\bf bconsole}
to interface to the Director.
-\section{Important Changes}
+\subsection{Important Changes}
\label{sec:importantchanges}
\begin{itemize}
Note that the Truncate Volume after purge feature doesn't work as expected
in 5.0.0 version. Please, don't use it before version 5.0.1.
-\subsection{Custom Catalog queries}
+\subsubsection{Custom Catalog queries}
If you wish to add specialized commands that list the contents of the catalog,
you can do so by adding them to the \texttt{query.sql} file. This
\texttt{examples/sample-query.sql} has an a number of sample commands
you might find useful.
-\subsection{Deprecated parts}
+\subsubsection{Deprecated parts}
The following items have been \textbf{deprecated} for a long time, and are now
removed from the code.
\item Support for SQLite 2
\end{itemize}
-\section{Misc Changes}
+\subsection{Misc Changes}
\label{sec:miscchanges}
\begin{itemize}
number of bugs found in version 3.0.2 during the ongoing development
process.
-\chapter{New Features in Released Version 3.0.2}
+\section{New Features in Released Version 3.0.2}
This chapter presents the new features added to the
Released Bacula Version 3.0.2.
-\section{Full Restore from a Given JobId}
+\subsection{Full Restore from a Given JobId}
\index[general]{Restore menu}
This feature allows selecting a single JobId and having Bacula
This project was funded by Bacula Systems.
-\section{Source Address}
+\subsection{Source Address}
\index[general]{Source Address}
A feature has been added which allows the administrator to specify the address
This project was funded by Collaborative Fusion, Inc.
-\section{Show volume availability when doing restore}
+\subsection{Show volume availability when doing restore}
When doing a restore the selection dialog ends by displaying this
screen:
This project was funded by Bacula Systems.
-\section{Accurate estimate command}
+\subsection{Accurate estimate command}
The \texttt{estimate} command can now use the accurate code to detect changes
and give a better estimation.
This project was funded by Bacula Systems.
-\chapter{New Features in 3.0.0}
+\section{New Features in 3.0.0}
\label{NewFeaturesChapter}
\index[general]{New Features}
This chapter presents the new features added to the development 2.5.x
versions to be released as Bacula version 3.0.0 sometime in April 2009.
-\section{Accurate Backup}
+\subsection{Accurate Backup}
\index[general]{Accurate Backup}
As with most other backup programs, by default Bacula decides what files to
what files have been deleted and will miss any file with an old time that may
have been restored to or moved onto the client filesystem.
-\subsection{Accurate = \lt{}yes\vb{}no\gt{}}
+\subsubsection{Accurate = \lt{}yes\vb{}no\gt{}}
If the {\bf Accurate = \lt{}yes\vb{}no\gt{}} directive is enabled (default no) in
the Job resource, the job will be run as an Accurate Job. For a {\bf Full}
backup, there is no difference, but for {\bf Differential} and {\bf
-\section{Copy Jobs}
+\subsection{Copy Jobs}
\index[general]{Copy Jobs}
A new {\bf Copy} job type 'C' has been implemented. It is similar to the
+-------+------------------------------------+-----------+------------------+
\end{verbatim}
-\section{ACL Updates}
+\subsection{ACL Updates}
\index[general]{ACL Updates}
The whole ACL code had been overhauled and in this version each platforms has
different streams for each type of acl available on such an platform. As ACLs
the streams are separate and restoring them on a platform that doesn't
recognize them will give you a warning.
-\section{Extended Attributes}
+\subsection{Extended Attributes}
\index[general]{Extended Attributes}
Something that was on the project list for some time is now implemented for
platforms that support a similar kind of interface. Its the support for backup
}
\end{verbatim}
-\section{Shared objects}
+\subsection{Shared objects}
\index[general]{Shared objects}
A default build of Bacula will now create the libraries as shared objects
(.so) rather than static libraries as was previously the case.
\end{verbatim}
-\section{Building Static versions of Bacula}
+\subsection{Building Static versions of Bacula}
\index[general]{Static linking}
In order to build static versions of Bacula, in addition
to configuration options that were needed you now must
\end{verbatim}
-\section{Virtual Backup (Vbackup)}
+\subsection{Virtual Backup (Vbackup)}
\index[general]{Virtual Backup}
\index[general]{Vbackup}
-\section{Catalog Format}
+\subsection{Catalog Format}
\index[general]{Catalog Format}
Bacula 3.0 comes with some changes to the catalog format. The upgrade
operation will convert the FileId field of the File table from 32 bits (max 4
backup of your database before executing the upgrade script. See the
ReleaseNotes for additional details.
-\section{64 bit Windows Client}
+\subsection{64 bit Windows Client}
\index[general]{Win64 Client}
Unfortunately, Microsoft's implementation of Volume Shadown Copy (VSS) on
their 64 bit OS versions is not compatible with a 32 bit Bacula Client.
This project was funded by Bacula Systems.
-\section{Duplicate Job Control}
+\subsection{Duplicate Job Control}
\index[general]{Duplicate Jobs}
The new version of Bacula provides four new directives that
give additional control over what Bacula does if duplicate jobs
They are:
-\subsection{Allow Duplicate Jobs = \lt{}yes\vb{}no\gt{}}
+\subsubsection{Allow Duplicate Jobs = \lt{}yes\vb{}no\gt{}}
\index[general]{Allow Duplicate Jobs}
If this directive is set to {\bf yes}, duplicate jobs will be run. If
the directive is set to {\bf no} (default) then only one job of a given name
Canceling a job, then the current job (the second one started)
will be canceled.
-\subsection{Allow Higher Duplicates = \lt{}yes\vb{}no\gt{}}
+\subsubsection{Allow Higher Duplicates = \lt{}yes\vb{}no\gt{}}
\index[general]{Allow Higher Duplicates}
This directive was in version 5.0.0, but does not work as
expected. If used, it should always be set to no. In later versions
of Bacula the directive is disabled (disregarded).
-\subsection{Cancel Running Duplicates = \lt{}yes\vb{}no\gt{}}
+\subsubsection{Cancel Running Duplicates = \lt{}yes\vb{}no\gt{}}
\index[general]{Cancel Running Duplicates}
If {\bf Allow Duplicate Jobs} is set to {\bf no} and
if this directive is set to {\bf yes} any job that is already running
will be canceled. The default is {\bf no}.
-\subsection{Cancel Queued Duplicates = \lt{}yes\vb{}no\gt{}}
+\subsubsection{Cancel Queued Duplicates = \lt{}yes\vb{}no\gt{}}
\index[general]{Cancel Queued Duplicates}
If {\bf Allow Duplicate Jobs} is set to {\bf no} and
if this directive is set to {\bf yes} any job that is
The default is {\bf no}.
-\section{TLS Authentication}
+\subsection{TLS Authentication}
\index[general]{TLS Authentication}
In Bacula version 2.5.x and later, in addition to the normal Bacula
CRAM-MD5 authentication that is used to authenticate each Bacula
encryption (TLS Enable, TLS Verify Peer, TLS Certificate, ...) and
a new directive:
-\subsection{TLS Authenticate = yes}
+\subsubsection{TLS Authenticate = yes}
\begin{verbatim}
TLS Authenticate = yes
\end{verbatim}
If you want to encrypt communications data, use the normal TLS directives
but do not turn on {\bf TLS Authenticate}.
-\section{bextract non-portable Win32 data}
+\subsection{bextract non-portable Win32 data}
\index[general]{bextract handles Win32 non-portable data}
{\bf bextract} has been enhanced to be able to restore
non-portable Win32 data to any OS. Previous versions were
unable to restore non-portable Win32 data to machines that
did not have the Win32 BackupRead and BackupWrite API calls.
-\section{State File updated at Job Termination}
+\subsection{State File updated at Job Termination}
\index[general]{State File}
In previous versions of Bacula, the state file, which provides a
summary of previous jobs run in the {\bf status} command output was
state file might not contain all the run data. This version of
the Bacula daemons updates the state file on each job termination.
-\section{MaxFullInterval = \lt{}time-interval\gt{}}
+\subsection{MaxFullInterval = \lt{}time-interval\gt{}}
\index[general]{MaxFullInterval}
The new Job resource directive {\bf Max Full Interval = \lt{}time-interval\gt{}}
can be used to specify the maximum time interval between {\bf Full} backup
{\bf Incremental} or {\bf Differential}, it will be automatically
upgraded to a {\bf Full} backup.
-\section{MaxDiffInterval = \lt{}time-interval\gt{}}
+\subsection{MaxDiffInterval = \lt{}time-interval\gt{}}
\index[general]{MaxDiffInterval}
The new Job resource directive {\bf Max Diff Interval = \lt{}time-interval\gt{}}
can be used to specify the maximum time interval between {\bf Differential} backup
{\bf Incremental}, it will be automatically
upgraded to a {\bf Differential} backup.
-\section{Honor No Dump Flag = \lt{}yes\vb{}no\gt{}}
+\subsection{Honor No Dump Flag = \lt{}yes\vb{}no\gt{}}
\index[general]{MaxDiffInterval}
On FreeBSD systems, each file has a {\bf no dump flag} that can be set
by the user, and when it is set it is an indication to backup programs
The default value is {\bf no}.
-\section{Exclude Dir Containing = \lt{}filename-string\gt{}}
+\subsection{Exclude Dir Containing = \lt{}filename-string\gt{}}
\index[general]{IgnoreDir}
The {\bf ExcludeDirContaining = \lt{}filename\gt{}} is a new directive that
can be added to the Include section of the FileSet resource. If the specified
files, directories, etc).
-\section{Bacula Plugins}
+\subsection{Bacula Plugins}
\index[general]{Plugin}
Support for shared object plugins has been implemented in the Linux, Unix
and Win32 File daemons. The API will be documented separately in
Plugins are also planned (partially implemented) in the Director and the
Storage daemon.
-\subsection{Plugin Directory}
+\subsubsection{Plugin Directory}
\index[general]{Plugin Directory}
Each daemon (DIR, FD, SD) has a new {\bf Plugin Directory} directive that may
be added to the daemon definition resource. The directory takes a quoted
load any plugins. Since each plugin has a distinctive name, all the daemons
can share the same plugin directory.
-\subsection{Plugin Options}
+\subsubsection{Plugin Options}
\index[general]{Plugin Options}
The {\bf Plugin Options} directive takes a quoted string
argument (after the equal sign) and may be specified in the
the string in the run command, but the plugin options are not yet passed to
the plugin (i.e. not fully implemented).
-\subsection{Plugin Options ACL}
+\subsubsection{Plugin Options ACL}
\index[general]{Plugin Options ACL}
The {\bf Plugin Options ACL} directive may be specified in the
Director's Console resource. It functions as all the other ACL commands
definition. Without this directive restricted consoles may not modify
the Plugin Options.
-\subsection{Plugin = \lt{}plugin-command-string\gt{}}
+\subsubsection{Plugin = \lt{}plugin-command-string\gt{}}
\index[general]{Plugin}
The {\bf Plugin} directive is specified in the Include section of
a FileSet resource where you put your {\bf File = xxx} directives.
Please see the next section for information about the {\bf bpipe} Bacula
plugin.
-\section{The bpipe Plugin}
+\subsection{The bpipe Plugin}
\index[general]{The bpipe Plugin}
The {\bf bpipe} plugin is provided in the directory src/plugins/fd/bpipe-fd.c of
the Bacula source distribution. When the plugin is compiled and linking into
you can backup any kind of data (ASCII or binary) depending
on the program called.
-\section{Microsoft Exchange Server 2003/2007 Plugin}
+\subsection{Microsoft Exchange Server 2003/2007 Plugin}
\index[general]{Microsoft Exchange Server 2003/2007 Plugin}
-\subsection{Background}
+\subsubsection{Background}
The Exchange plugin was made possible by a funded development project
between Equiinet Ltd -- www.equiinet.com (many thanks) and Bacula Systems.
The code for the plugin was written by James Harper, and the Bacula core
code by Kern Sibbald. All the code for this funded development has become
part of the Bacula project. Thanks to everyone who made it happen.
-\subsection{Concepts}
+\subsubsection{Concepts}
Although it is possible to backup Exchange using Bacula VSS the Exchange
plugin adds a good deal of functionality, because while Bacula VSS
completes a full backup (snapshot) of Exchange, it does
restoring at the individual mailbox or email item is not supported but
can be simulated by use of the "Recovery" Storage Group (see below).
-\subsection{Installing}
+\subsubsection{Installing}
The Exchange plugin requires a DLL that is shipped with Microsoft
Exchanger Server called {\bf esebcli2.dll}. Assuming Exchange is installed
correctly the Exchange plugin should find this automatically and run
named esebcli2.dll and is found in C:\verb+\+Program Files\verb+\+Exchsrvr\verb+\+bin on a
default Exchange installation.
-\subsection{Backing Up}
+\subsubsection{Backing Up}
To back up an Exchange server the Fileset definition must contain at
least {\bf Plugin = "exchange:/@EXCHANGE/Microsoft Information Store"} for
the backup to work correctly. The 'exchange:' bit tells Bacula to look
will be properly saved by the Plugin.
-\subsection{Restoring}
+\subsubsection{Restoring}
The restore operation is much the same as a normal Bacula restore, with
the following provisos:
as Exchange can get confused by stray log files lying around.
\end{itemize}
-\subsection{Restoring to the Recovery Storage Group}
+\subsubsection{Restoring to the Recovery Storage Group}
The concept of the Recovery Storage Group is well documented by
Microsoft
\elink{http://support.microsoft.com/kb/824126}{http://support.microsoft.com/kb/824126},
Recovery Storage Group automatically.
Then run the restore.
-\subsection{Restoring on Microsoft Server 2007}
+\subsubsection{Restoring on Microsoft Server 2007}
Apparently the {\bf Exmerge} program no longer exists in Microsoft Server
2007, and hence you use a new procedure for recovering a single mail box.
This procedure is documented by Microsoft at:
and involves using the {\bf Restore-Mailbox} and {\bf
Get-Mailbox Statistics} shell commands.
-\subsection{Caveats}
+\subsubsection{Caveats}
This plugin is still being developed, so you should consider it
currently in BETA test, and thus use in a production environment
should be done only after very careful testing.
will not be added to the estimate total that is displayed.
-\section{libdbi Framework}
+\subsection{libdbi Framework}
\index[general]{libdbi Framework}
As a general guideline, Bacula has support for a few catalog database drivers
(MySQL, PostgreSQL, SQLite)
You can download them and compile them on your system or install the packages
from your OS distribution.
-\section{Console Command Additions and Enhancements}
+\subsection{Console Command Additions and Enhancements}
\index[general]{Console Additions}
-\subsection{Display Autochanger Content}
+\subsubsection{Display Autochanger Content}
\index[general]{StatusSlots}
The {\bf status slots storage=\lt{}storage-name\gt{}} command displays
{\bf update slots} command to synchronize autochanger content with your
catalog.
-\subsection{list joblog job=xxx or jobid=nnn}
+\subsubsection{list joblog job=xxx or jobid=nnn}
\index[general]{list joblog}
A new list command has been added that allows you to list the contents
of the Job Log stored in the catalog for either a Job Name (fully qualified)
In your Director's {\bf Messages} resource.
-\subsection{Use separator for multiple commands}
+\subsubsection{Use separator for multiple commands}
\index[general]{Command Separator}
When using bconsole with readline, you can set the command separator with
\textbf{@separator} command to one
!$%&'()*+,-/:;<>?[]^`{|}~
\end{verbatim}
-\subsection{Deleting Volumes}
+\subsubsection{Deleting Volumes}
The delete volume bconsole command has been modified to
require an asterisk (*) in front of a MediaId otherwise the
value you enter is a taken to be a Volume name. This is so that
This new behavior is indicated in the prompt if you read it
carefully.
-\section{Bare Metal Recovery}
+\subsection{Bare Metal Recovery}
The old bare metal recovery project is essentially dead. One
of the main features of it was that it would build a recovery
CD based on the kernel on your system. The problem was that
The documentation and the code can be found in the {\bf rescue} package
in the directory {\bf linux/usb}.
-\section{Miscellaneous}
+\subsection{Miscellaneous}
\index[general]{Misc New Features}
-\subsection{Allow Mixed Priority = \lt{}yes\vb{}no\gt{}}
+\subsubsection{Allow Mixed Priority = \lt{}yes\vb{}no\gt{}}
\index[general]{Allow Mixed Priority}
This directive is only implemented in version 2.5 and later. When
set to {\bf yes} (default {\bf no}), this job may run even if lower
the running jobs finishes. However, new priority 10 jobs will not
be run until the priority 5 job has finished.
-\subsection{Bootstrap File Directive -- FileRegex}
+\subsubsection{Bootstrap File Directive -- FileRegex}
\index[general]{Bootstrap File Directive}
{\bf FileRegex} is a new command that can be added to the bootstrap
(.bsr) file. The value is a regular expression. When specified, only
Bootstrap records written to /tmp/regress/working/zog4-dir.restore.1.bsr
\end{verbatim}
-\subsection{Bootstrap File Optimization Changes}
+\subsubsection{Bootstrap File Optimization Changes}
In order to permit proper seeking on disk files, we have extended the bootstrap
file format to include a {\bf VolStartAddr} and {\bf VolEndAddr} records. Each
takes a 64 bit unsigned integer range (i.e. nnn-mmm) which defines the start
format (automatically generated by the new Director), restores will seek
properly and stop reading the volume when all the files have been restored.
-\subsection{Solaris ZFS/NFSv4 ACLs}
+\subsubsection{Solaris ZFS/NFSv4 ACLs}
This is an upgrade of the previous Solaris ACL backup code
to the new library format, which will backup both the old
POSIX(UFS) ACLs as well as the ZFS ACLs.
be used to transfer from UFS to ZFS filesystems.
-\subsection{Virtual Tape Emulation}
+\subsubsection{Virtual Tape Emulation}
\index[general]{Virtual Tape Emulation}
We now have a Virtual Tape emulator that allows us to run though 99.9\% of
the tape code but actually reading and writing to a disk file. Used with the
directive. This feature is only implemented on Linux machines and should not be
used for production.
-\subsection{Bat Enhancements}
+\subsubsection{Bat Enhancements}
\index[general]{Bat Enhancements}
Bat (the Bacula Administration Tool) GUI program has been significantly
enhanced and stabilized. In particular, there are new table based status
the Director you are using otherwise the communications protocol will not
work.
-\subsection{RunScript Enhancements}
+\subsubsection{RunScript Enhancements}
\index[general]{RunScript Enhancements}
The {\bf RunScript} resource has been enhanced to permit multiple
commands per RunScript. Simply specify multiple {\bf Command} directives
We would appreciate feedback. Due to the recursive nature of this command, we
may remove it before the final release.
-\subsection{Status Enhancements}
+\subsubsection{Status Enhancements}
\index[general]{Status Enhancements}
The bconsole {\bf status dir} output has been enhanced to indicate
Storage daemon job spooling and despooling activity.
-\subsection{Connect Timeout}
+\subsubsection{Connect Timeout}
\index[general]{Connect Timeout}
The default connect timeout to the File
daemon has been set to 3 minutes. Previously it was 30 minutes.
-\subsection{ftruncate for NFS Volumes}
+\subsubsection{ftruncate for NFS Volumes}
\index[general]{ftruncate for NFS Volumes}
If you write to a Volume mounted by NFS (say on a local file server),
in previous Bacula versions, when the Volume was recycled, it was not
written code (actually a kind user) that deletes and recreates the Volume,
thus accomplishing the same thing as a truncate.
-\subsection{Support for Ubuntu}
+\subsubsection{Support for Ubuntu}
The new version of Bacula now recognizes the Ubuntu (and Kubuntu)
version of Linux, and thus now provides correct autostart routines.
Since Ubuntu officially supports Bacula, you can also obtain any
recent release of Bacula from the Ubuntu repositories.
-\subsection{Recycle Pool = \lt{}pool-name\gt{}}
+\subsubsection{Recycle Pool = \lt{}pool-name\gt{}}
\index[general]{Recycle Pool}
The new \textbf{RecyclePool} directive defines to which pool the Volume will
be placed (moved) when it is recycled. Without this directive, a Volume will
probably most useful when defined in the Scratch pool, so that volumes will
be recycled back into the Scratch pool.
-\subsection{FD Version}
+\subsubsection{FD Version}
\index[general]{FD Version}
The File daemon to Director protocol now includes a version
number, which although there is no visible change for users,
will help us in future versions automatically determine
if a File daemon is not compatible.
-\subsection{Max Run Sched Time = \lt{}time-period-in-seconds\gt{}}
+\subsubsection{Max Run Sched Time = \lt{}time-period-in-seconds\gt{}}
\index[general]{Max Run Sched Time}
The time specifies the maximum allowed time that a job may run, counted from
when the job was scheduled. This can be useful to prevent jobs from running
during working hours. We can see it like \texttt{Max Start Delay + Max Run
Time}.
-\subsection{Max Wait Time = \lt{}time-period-in-seconds\gt{}}
+\subsubsection{Max Wait Time = \lt{}time-period-in-seconds\gt{}}
\index[general]{Max Wait Time}
Previous \textbf{MaxWaitTime} directives aren't working as expected, instead
of checking the maximum allowed time that a job may block for a resource,
\textbf{Incr/Diff/Full Max Run Time}. \textbf{Incr/Diff/Full Max Wait Time}
directives are now deprecated.
-\subsection{Incremental|Differential Max Wait Time = \lt{}time-period-in-seconds\gt{}}
+\subsubsection{Incremental|Differential Max Wait Time = \lt{}time-period-in-seconds\gt{}}
\index[general]{Incremental Max Wait Time}
\index[general]{Differential Max Wait Time}
These directives have been deprecated in favor of
\texttt{Incremental|Differential Max Run Time}.
-\subsection{Max Run Time directives}
+\subsubsection{Max Run Time directives}
\index[general]{Max Run Time directives}
Using \textbf{Full/Diff/Incr Max Run Time}, it's now possible to specify the
maximum allowed time that a job can run depending on the level.
\addcontentsline{lof}{figure}{Job time control directives}
\includegraphics{\idir different_time.eps}
-\subsection{Statistics Enhancements}
+\subsubsection{Statistics Enhancements}
\index[general]{Statistics Enhancements}
If you (or probably your boss) want to have statistics on your backups to
provide some \textit{Service Level Agreement} indicators, you could use a few
}
\end{verbatim}
-\subsection{ScratchPool = \lt{}pool-resource-name\gt{}}
+\subsubsection{ScratchPool = \lt{}pool-resource-name\gt{}}
\index[general]{ScratchPool}
This directive permits to specify a specific \textsl{Scratch} pool for the
current pool. This is useful when using multiple storage sharing the same
mediatype or when you want to dedicate volumes to a particular set of pool.
-\subsection{Enhanced Attribute Despooling}
+\subsubsection{Enhanced Attribute Despooling}
\index[general]{Attribute Despooling}
If the storage daemon and the Director are on the same machine, the spool file
that contains attributes is read directly by the Director instead of being
transmitted across the network. That should reduce load and speedup insertion.
-\subsection{SpoolSize = \lt{}size-specification-in-bytes\gt{}}
+\subsubsection{SpoolSize = \lt{}size-specification-in-bytes\gt{}}
\index[general]{SpoolSize}
A new Job directive permits to specify the spool size per job. This is used
in advanced job tunning. {\bf SpoolSize={\it bytes}}
-\subsection{MaximumConsoleConnections = \lt{}number\gt{}}
+\subsubsection{MaximumConsoleConnections = \lt{}number\gt{}}
\index[general]{MaximumConsoleConnections}
A new director directive permits to specify the maximum number of Console
Connections that could run concurrently. The default is set to 20, but you may
set it to a larger number.
-\subsection{VerId = \lt{}string\gt{}}
+\subsubsection{VerId = \lt{}string\gt{}}
\index[general]{VerId}
A new director directive permits to specify a personnal identifier that will be
displayed in the \texttt{version} command.
-\subsection{dbcheck enhancements}
+\subsubsection{dbcheck enhancements}
\index[general]{dbcheck enhancements}
If you are using Mysql, dbcheck will now ask you if you want to create
temporary indexes to speed up orphaned Path and Filename elimination.
You can now specify the database connection port in the command line.
-\subsection{{-}{-}docdir configure option}
+\subsubsection{{-}{-}docdir configure option}
\index[general]{{-}{-}docdir configure option}
You can use {-}{-}docdir= on the ./configure command to
specify the directory where you want Bacula to install the
LICENSE, ReleaseNotes, ChangeLog, ... files. The default is
{\bf /usr/share/doc/bacula}.
-\subsection{{-}{-}htmldir configure option}
+\subsubsection{{-}{-}htmldir configure option}
\index[general]{{-}{-}htmldir configure option}
You can use {-}{-}htmldir= on the ./configure command to
specify the directory where you want Bacula to install the bat html help
files. The default is {\bf /usr/share/doc/bacula/html}
-\subsection{{-}{-}with-plugindir configure option}
+\subsubsection{{-}{-}with-plugindir configure option}
\index[general]{{-}{-}plugindir configure option}
You can use {-}{-}plugindir= on the ./configure command to
specify the directory where you want Bacula to install