4 \section*{The internal database is not supported, please do not
6 \label{InternalDbChapter}
7 \index[general]{Use it!The internal database is not supported please
9 \index[general]{The internal database is not supported, please do not
12 \section{Internal Bacula Database}
13 \index[general]{Internal Bacula Database }
14 \index[general]{Database!Internal Bacula }
16 Previously it was intended to be used primarily by Bacula developers for
17 testing; although SQLite is also a good choice for this. We do not recommend
20 This database is simplistic in that it consists entirely of Bacula's internal
21 structures appended sequentially to a file. Consequently, it is in most cases
22 inappropriate for sites with many clients or systems with large numbers of
23 files, or long-term production environments.
25 Below, you will find a table comparing the features available with SQLite and
26 MySQL and with the internal Bacula database. At the current time, you cannot
27 dynamically switch from one to the other, but must rebuild the Bacula source
28 code. If you wish to experiment with both, it is possible to build both
29 versions of Bacula and install them into separate directories.
31 \addcontentsline{lot}{table}{SQLite vs MySQL Database Comparison}
32 \begin{longtable}{|l|l|l|}
34 \multicolumn{1}{|c| }{\bf Feature } & \multicolumn{1}{c| }{\bf SQLite or MySQL
35 } & \multicolumn{1}{c| }{\bf Bacula } \\
37 {Job Record } & {Yes } & {Yes } \\
39 {Media Record } & {Yes } & {Yes } \\
41 {FileName Record } & {Yes } & {No } \\
43 {File Record } & {Yes } & {No } \\
45 {FileSet Record } & {Yes } & {Yes } \\
47 {Pool Record } & {Yes } & {Yes } \\
49 {Client Record } & {Yes } & {Yes } \\
51 {JobMedia Record } & {Yes } & {Yes } \\
53 {List Job Records } & {Yes } & {Yes } \\
55 {List Media Records } & {Yes } & {Yes } \\
57 {List Pool Records } & {Yes } & {Yes } \\
59 {List JobMedia Records } & {Yes } & {Yes } \\
61 {Delete Pool Record } & {Yes } & {Yes } \\
63 {Delete Media Record } & {Yes } & {Yes } \\
65 {Update Pool Record } & {Yes } & {Yes } \\
67 {Implement Verify } & {Yes } & {No } \\
69 {MD5 Signatures } & {Yes } & {No }
74 In addition, since there is no SQL available, the Console commands: {\bf
75 sqlquery}, {\bf query}, {\bf retention}, and any other command that directly
76 uses SQL are not available with the Internal database.