]> git.sur5r.net Git - bacula/docs/blob - docs/manual/state.tex
Final changes
[bacula/docs] / docs / manual / state.tex
1 %%
2 %%
3
4 \section*{The Current State of Bacula}
5 \label{_ChapterStart2}
6 \index[general]{Current State of Bacula }
7 \addcontentsline{toc}{section}{Current State of Bacula}
8
9 In other words, what is and what is not currently implemented and functional. 
10
11 \subsection*{What is Implemented}
12 \index[general]{Implemented!What}
13 \index[general]{What is Implemented}
14 \addcontentsline{toc}{subsection}{What is Implemented}
15
16 \begin{itemize}
17 \item Job Control
18    \begin{itemize}
19    \item Network backup/restore with centralized Director.  
20    \item Internal scheduler for automatic 
21       \ilink{Job}{JobDef} execution.  
22    \item Scheduling of multiple Jobs at the same time.  
23    \item You may run one Job at a time or multiple simultaneous Jobs.  
24    \item Job sequencing using priorities.  
25    \item \ilink{Console}{UADef} interface to the Director  allowing complete
26       control. A shell, GNOME GUI and wxWidgets GUI versions of  the Console program
27       are available. Note, the GNOME GUI program currently  offers very few
28       additional features over the shell program. 
29    \end{itemize}
30
31 \item Security
32    \begin{itemize}
33    \item Verification of files previously cataloged, permitting a Tripwire like 
34       capability (system break-in detection).  
35    \item CRAM-MD5 password authentication between each component (daemon).
36    \item Configurable 
37       \ilink{TLS (ssl) encryption}{_ChapterStart61} between each component.
38    \item Computation of MD5 or SHA1 signatures of the file data if requested.  
39    \end{itemize}
40
41
42 \item Restore Features
43    \begin{itemize}
44    \item Restore of one or more files selected interactively either for  the
45       current backup or a backup prior to a specified time and date.  
46    \item Restore of a complete system starting from bare  metal. This is mostly
47       automated for Linux systems and  partially automated for Solaris. See 
48       \ilink{Disaster Recovery Using Bacula}{_ChapterRescue}. This is also
49       reported to work on Win2K/XP systems.  
50    \item Listing and Restoration of files using stand-alone {\bf bls} and  {\bf
51       bextract} tool programs. Among other things, this permits  extraction of files
52       when Bacula and/or the catalog are not  available. Note, the recommended way
53       to restore files is using  the restore command in the Console. These programs
54       are designed  for use as a last resort. 
55    \item Ability to recreate the catalog database by scanning backup Volumes 
56       using the {\bf bscan} program.  
57    \end{itemize}
58
59 \item SQL Catalog
60    \begin{itemize}
61    \item Catalog database facility for remembering Volumes, Pools, Jobs,  and
62       Files backed up.  
63    \item Support for SQLite, PostgreSQL, and MySQL Catalog databases.  
64    \item User extensible queries to the SQLite, PostgreSQL and MySQL databases.  
65    \end{itemize}
66
67 \item Advanced Volume and Pool Management
68    \begin{itemize}
69    \item Labeled Volumes, preventing accidental overwriting  (at least by
70       Bacula).  
71    \item Any number of Jobs and Clients can be backed up to a single  Volume.
72       That is, you can backup and restore Linux, Unix, Sun, and  Windows machines to
73       the same Volume.  
74    \item Multi-volume saves. When a Volume is full, {\bf Bacula}  automatically
75       requests the next Volume and continues the backup.  
76    \item 
77       \ilink{Pool and Volume}{PoolResource} library management 
78       providing Volume flexibility (e.g. monthly, weekly, daily Volume sets,  Volume
79       sets segregated by Client, ...). 
80    \item Machine independent Volume data format. Linux, Solaris, and Windows 
81       clients can all be backed up to the same Volume if desired. 
82    \item A flexible 
83       \ilink{ message}{MessageResource}  handler including routing
84       of messages from any daemon back to the  Director and automatic email
85       reporting.  
86    \item Data spooling to disk during backup with subsequent write to tape from
87       the spooled disk files. This prevents tape "shoe shine"  during
88       Incremental/Differential backups.  
89    \end{itemize}
90
91 \item Advanced Support for most Storage Devices
92     \begin{itemize}
93    \item Autochanger support using a simple shell interface that can interface 
94       to virtually any autoloader program. A script for {\bf mtx} is  provided.  
95    \item Support for autochanger barcodes -- automatic tape labeling from 
96       barcodes.  
97    \item Automatic support for multiple autochanger magazines either using
98       barcodes or by reading the tapes.  
99    \item Support for multiple drive autochangers.
100    \item Raw device backup/restore. Restore must be to the same device. 
101    \item All Volume blocks (approx 64K bytes) contain a data checksum.  
102     \end{itemize}
103
104 \item Multi-Operating System Support
105    \begin{itemize} 
106    \item Programmed to handle arbitrarily long filenames and messages.  
107    \item GZIP compression on a file by file basis done by the Client program  if
108       requested before network transit.  
109    \item Saves and restores POSIX ACLs on most OSes if enabled.  
110    \item Access control lists for Consoles that permit restricting user access
111       to only their data.  
112    \item Support for save/restore of files larger than 2GB.  
113    \item Support for 64 bit machines, e.g. amd64.  
114    \item Ability to encrypt communications between daemons using stunnel. 
115    \item Support ANSI and IBM tape labels.
116    \item Support for Unicode filenames (e.g. Chinese) on Win32 machines on
117          version 1.37.28 and greater.
118    \item Consistent backup of open files on Win32 systems (WinXP, Win2003),
119          but not Win2000, using Volume Shadow Copy (VSS).
120    \end{itemize}
121
122 \item Miscellaneous
123    \begin{itemize}
124    \item Multi-threaded implementation.  
125    \item A comprehensive and extensible 
126       \ilink{configuration file}{_ChapterStart40} for each daemon.  
127    \end{itemize}
128 \end{itemize}
129
130 \subsection*{Advantages of Bacula Over Other Backup Programs}
131 \index[general]{Advantages of Bacula Over Other Backup Programs }
132 \index[general]{Programs!Advantages of Bacula Over Other Backup }
133 \addcontentsline{toc}{subsection}{Advantages of Bacula Over Other Backup
134    Programs}
135
136 \begin{itemize}
137 \item Since there is a client for each machine, you can backup
138    and restore clients of any type ensuring that all attributes
139    of files are properly saved and restored.
140 \item It is also possible to backup clients without any client
141    software by using NFS or Samba.  However, if possible, we
142    recommend running a Client File daemon on each machine to be
143    backed up.
144 \item Bacula handles multi-volume backups.  
145 \item A full comprehensive SQL standard database of all files backed up.  This
146    permits online viewing of files saved on any particular  Volume.  
147 \item Automatic pruning of the database (removal of old records) thus 
148    simplifying database administration.  
149 \item Any SQL database engine can be used making Bacula very flexible.  
150 \item The modular but integrated design makes Bacula very scalable.  
151 \item Since Bacula uses client file servers, any database or
152    other application can be properly shutdown by Bacula using the
153    native tools of the system, backed up, then restarted (all
154    within a Bacula Job).
155 \item Bacula has a built-in Job scheduler.  
156 \item The Volume format is documented and there are simple C programs to 
157    read/write it.  
158 \item Bacula uses well defined (IANA registered) TCP/IP ports -- no rpcs,  no
159    shared memory.  
160 \item Bacula installation and configuration is relatively simple compared  to
161    other comparable products.  
162 \item According to one user Bacula is as fast as the big major commercial 
163    applications.  
164 \item According to another user Bacula is four times as fast as  another
165    commercial application, probably because that application  stores its catalog
166    information in a large number of individual  files rather than an SQL database
167    as Bacula does.  
168 \item Aside from a GUI administrative interface, Bacula has a
169    comprehensive shell administrative interface, which allows the
170    administrator to use tools such as ssh to administrate any part of
171    Bacula from anywhere (even from home).
172 \item Bacula has a Rescue CD for Linux systems with the following features:  
173    \begin{itemize}
174    \item You build it on your own system from scratch with one simple  command:
175       make -- well, then make burn. 
176    \item It uses your kernel  
177    \item It captures your current disk parameters and builds scripts that  allow
178       you to automatically repartition a disk and format it to  put it back to what
179       you had before. 
180    \item It has a script that will restart your networking (with the right  IP
181       address)  
182    \item It has a script to automatically mount your hard disks.  
183    \item It has a full Bacula FD statically linked  
184    \item You can easily add additional data/programs, ... to the disk.  
185    \end{itemize}
186
187 \end{itemize}
188
189 \subsection*{Current Implementation Restrictions}
190 \index[general]{Current Implementation Restrictions }
191 \index[general]{Restrictions!Current Implementation }
192 \addcontentsline{toc}{subsection}{Current Implementation Restrictions}
193
194 \begin{itemize}
195 \item Path and filenames longer than 260 characters on Win32 systems are
196    not supported. They will be backed up, but they cannot be restored. By
197    using the {\bf Portable=yes} directive in your FileSet, files with
198    long names can be restored to Unix and Linux systems.  
199    Long filenames for Win32 will be implemented in version 1.40.
200 \item If you have over 4 billion file entries stored in your database,  the
201    database FileId is likely to overflow. This is a monster database,  but still
202    possible. At some point, Bacula's FileId fields will be  upgraded from 32 bits
203    to 64 bits and this problem will go away. In  the mean time, a good workaround
204    is to use multiple databases.  
205 \item Files deleted after a Full save will be included in a restoration.  
206 \item Bacula's Differential and Incremental backups are based on
207    time stamps.  Consequently, if you move files into an existing directory or
208    move a whole directory into the backup fileset after a Full backup, those
209    files will probably not be backed up by an Incremental save because they
210    will have old dates.  You must explicitly update the date/time stamp on all
211    moved files.  Correcting this is a future project.
212 \item File System Modules (configurable routines for saving/restoring special
213    files) are not yet implemented.  
214 \item Data encryption of the Volume contents. Bacula version 1.40
215    will have this feature.
216 \item Bacula cannot automatically restore files for a single Job
217    from two or more different storage devices or different media types.
218    That is, if you use more than one storage device or media type to
219    backup a single job, the restore process will require some manual
220    intervention.
221 \item Bacula does not currently support removable disk Volumes.
222    Some users seem to have it working, but you must take care to
223    have the correct volume mounted, and restores spanning removable
224    disk volumes are not likely to work. It is planned that Bacula
225    1.40 will have this feature.
226 \end{itemize}
227
228 \subsection*{Design Limitations or Restrictions}
229 \index[general]{Restrictions!Design Limitations or }
230 \index[general]{Design Limitations or Restrictions }
231 \addcontentsline{toc}{subsection}{Design Limitations or Restrictions}
232
233 \begin{itemize}
234 \item Names (resource names, Volume names, and such) defined in Bacula 
235    configuration files are limited to a fixed number of characters.  Currently
236    the limit is defined as 127 characters. Note, this does  not apply to
237    filenames, which may be arbitrarily long. 
238 \item On Win32 machines filenames are limited by the non-Unicode Windows
239    API that we use to 260 characters.  This is corrected in
240    version 1.39 and later by switching to the Unicode API.
241 \end{itemize}