\contentsline {chapter}{\numberline {1}What is Bacula?}{1}{chapter.1}
\contentsline {section}{\numberline {1.1}Who Needs Bacula?}{1}{section.1.1}
\contentsline {section}{\numberline {1.2}Bacula Components or Services}{2}{section.1.2}
\contentsline {section}{\numberline {1.3}Bacula Configuration}{6}{section.1.3}
\contentsline {section}{\numberline {1.4}Conventions Used in this Document}{7}{section.1.4}
\contentsline {section}{\numberline {1.5}Quick Start}{7}{section.1.5}
\contentsline {section}{\numberline {1.6}Terminology}{7}{section.1.6}
\contentsline {section}{\numberline {1.7}What Bacula is Not}{12}{section.1.7}
\contentsline {section}{\numberline {1.8}Interactions Between the Bacula Services}{12}{section.1.8}
\contentsline {chapter}{\numberline {2}The Current State of Bacula}{15}{chapter.2}
\contentsline {section}{\numberline {2.1}What is Implemented}{15}{section.2.1}
\contentsline {section}{\numberline {2.2}Advantages Over Other Backup Programs}{18}{section.2.2}
\contentsline {section}{\numberline {2.3}Current Implementation Restrictions}{19}{section.2.3}
\contentsline {section}{\numberline {2.4}Design Limitations or Restrictions}{20}{section.2.4}
\contentsline {chapter}{\numberline {3}System Requirements}{23}{chapter.3}
\contentsline {chapter}{\numberline {4}Supported Operating Systems}{25}{chapter.4}
\contentsline {chapter}{\numberline {5}Supported Tape Drives}{27}{chapter.5}
\contentsline {section}{\numberline {5.1}Don't see your drive?}{28}{section.5.1}
\contentsline {section}{\numberline {5.2}Unsupported Tape Drives}{29}{section.5.2}
\contentsline {section}{\numberline {5.3}FreeBSD Users Be Aware!!!}{29}{section.5.3}
\contentsline {section}{\numberline {5.4}Supported Autochangers}{29}{section.5.4}
\contentsline {section}{\numberline {5.5}Tape Specifications}{29}{section.5.5}
\contentsline {chapter}{\numberline {6}Getting Started with Bacula}{31}{chapter.6}
\contentsline {section}{\numberline {6.1}Understanding Jobs and Schedules}{31}{section.6.1}
\contentsline {section}{\numberline {6.2}Understanding Pools, Volumes and Labels}{32}{section.6.2}
\contentsline {section}{\numberline {6.3}Setting Up Bacula Configuration Files}{33}{section.6.3}
\contentsline {subsection}{\numberline {6.3.1}Configuring the Console Program}{33}{subsection.6.3.1}
\contentsline {subsection}{\numberline {6.3.2}Configuring the Monitor Program}{34}{subsection.6.3.2}
\contentsline {subsection}{\numberline {6.3.3}Configuring the File daemon}{35}{subsection.6.3.3}
\contentsline {subsection}{\numberline {6.3.4}Configuring the Director}{35}{subsection.6.3.4}
\contentsline {subsection}{\numberline {6.3.5}Configuring the Storage daemon}{36}{subsection.6.3.5}
\contentsline {section}{\numberline {6.4}Testing your Configuration Files}{37}{section.6.4}
\contentsline {section}{\numberline {6.5}Testing Compatibility with Your Tape Drive}{37}{section.6.5}
\contentsline {section}{\numberline {6.6}Get Rid of the /lib/tls Directory}{38}{section.6.6}
\contentsline {section}{\numberline {6.7}Running Bacula}{38}{section.6.7}
\contentsline {section}{\numberline {6.8}Log Rotation}{38}{section.6.8}
\contentsline {section}{\numberline {6.9}Log Watch}{38}{section.6.9}
\contentsline {section}{\numberline {6.10}Disaster Recovery}{39}{section.6.10}
\contentsline {chapter}{\numberline {7}Installing Bacula}{41}{chapter.7}
\contentsline {section}{\numberline {7.1}Source Release Files}{41}{section.7.1}
\contentsline {section}{\numberline {7.2}Upgrading Bacula}{42}{section.7.2}
\contentsline {section}{\numberline {7.3}Releases Numbering}{43}{section.7.3}
\contentsline {section}{\numberline {7.4}Dependency Packages}{45}{section.7.4}
\contentsline {section}{\numberline {7.5}Supported Operating Systems}{47}{section.7.5}
\contentsline {section}{\numberline {7.6}Building Bacula from Source}{47}{section.7.6}
\contentsline {section}{\numberline {7.7}What Database to Use?}{52}{section.7.7}
\contentsline {section}{\numberline {7.8}Quick Start}{52}{section.7.8}
\contentsline {section}{\numberline {7.9}Configure Options}{53}{section.7.9}
\contentsline {section}{\numberline {7.10}Recommended Options for Most Systems}{63}{section.7.10}
\contentsline {section}{\numberline {7.11}Red Hat}{64}{section.7.11}
\contentsline {section}{\numberline {7.12}Solaris}{65}{section.7.12}
\contentsline {section}{\numberline {7.13}FreeBSD}{66}{section.7.13}
\contentsline {section}{\numberline {7.14}Win32}{67}{section.7.14}
\contentsline {section}{\numberline {7.15}One File Configure Script}{67}{section.7.15}
\contentsline {section}{\numberline {7.16}Installing Bacula}{67}{section.7.16}
\contentsline {section}{\numberline {7.17}Building a File Daemon or Client}{68}{section.7.17}
\contentsline {section}{\numberline {7.18}Auto Starting the Daemons}{68}{section.7.18}
\contentsline {section}{\numberline {7.19}Other Make Notes}{69}{section.7.19}
\contentsline {section}{\numberline {7.20}Installing Tray Monitor}{71}{section.7.20}
\contentsline {subsection}{\numberline {7.20.1}GNOME}{71}{subsection.7.20.1}
\contentsline {subsection}{\numberline {7.20.2}KDE}{71}{subsection.7.20.2}
\contentsline {subsection}{\numberline {7.20.3}Other window managers}{72}{subsection.7.20.3}
\contentsline {section}{\numberline {7.21}Modifying the Bacula Configuration Files}{72}{section.7.21}
\contentsline {chapter}{\numberline {8}Critical Items to Implement Before Production}{73}{chapter.8}
\contentsline {section}{\numberline {8.1}Critical Items}{73}{section.8.1}
\contentsline {section}{\numberline {8.2}Recommended Items}{75}{section.8.2}
\contentsline {chapter}{\numberline {9}A Brief Tutorial}{77}{chapter.9}
\contentsline {section}{\numberline {9.1}Before Running Bacula}{78}{section.9.1}
\contentsline {section}{\numberline {9.2}Starting the Database}{78}{section.9.2}
\contentsline {section}{\numberline {9.3}Starting the Daemons}{79}{section.9.3}
\contentsline {section}{\numberline {9.4}Using the Director to Query and Start Jobs}{79}{section.9.4}
\contentsline {section}{\numberline {9.5}Running a Job}{81}{section.9.5}
\contentsline {section}{\numberline {9.6}Restoring Your Files}{87}{section.9.6}
\contentsline {section}{\numberline {9.7}Quitting the Console Program}{90}{section.9.7}
\contentsline {section}{\numberline {9.8}Adding a Second Client}{90}{section.9.8}
\contentsline {section}{\numberline {9.9}When The Tape Fills}{93}{section.9.9}
\contentsline {section}{\numberline {9.10}Other Useful Console Commands}{95}{section.9.10}
\contentsline {section}{\numberline {9.11}Debug Daemon Output}{96}{section.9.11}
\contentsline {section}{\numberline {9.12}Patience When Starting Daemons or Mounting Blank Tapes}{97}{section.9.12}
\contentsline {section}{\numberline {9.13}Difficulties Connecting from the FD to the SD}{97}{section.9.13}
\contentsline {section}{\numberline {9.14}Daemon Command Line Options}{98}{section.9.14}
\contentsline {section}{\numberline {9.15}Creating a Pool}{99}{section.9.15}
\contentsline {section}{\numberline {9.16}Labeling Your Volumes}{100}{section.9.16}
\contentsline {section}{\numberline {9.17}Labeling Volumes with the Console Program}{100}{section.9.17}
\contentsline {chapter}{\numberline {10}Customizing the Configuration Files}{103}{chapter.10}
\contentsline {section}{\numberline {10.1}Character Sets}{104}{section.10.1}
\contentsline {section}{\numberline {10.2}Resource Directive Format}{105}{section.10.2}
\contentsline {subsection}{\numberline {10.2.1}Comments}{106}{subsection.10.2.1}
\contentsline {subsection}{\numberline {10.2.2}Upper and Lower Case and Spaces}{106}{subsection.10.2.2}
\contentsline {subsection}{\numberline {10.2.3}Including other Configuration Files}{106}{subsection.10.2.3}
\contentsline {subsection}{\numberline {10.2.4}Recognized Primitive Data Types}{107}{subsection.10.2.4}
\contentsline {section}{\numberline {10.3}Resource Types}{109}{section.10.3}
\contentsline {section}{\numberline {10.4}Names, Passwords and Authorization}{109}{section.10.4}
\contentsline {section}{\numberline {10.5}Detailed Information for each Daemon}{111}{section.10.5}
\contentsline {chapter}{\numberline {11}Configuring the Director}{113}{chapter.11}
\contentsline {section}{\numberline {11.1}Director Resource Types}{113}{section.11.1}
\contentsline {section}{\numberline {11.2}The Director Resource}{114}{section.11.2}
\contentsline {section}{\numberline {11.3}The Job Resource}{118}{section.11.3}
\contentsline {section}{\numberline {11.4}The JobDefs Resource}{140}{section.11.4}
\contentsline {section}{\numberline {11.5}The Schedule Resource}{140}{section.11.5}
\contentsline {section}{\numberline {11.6}Technical Notes on Schedules}{145}{section.11.6}
\contentsline {section}{\numberline {11.7}The FileSet Resource}{145}{section.11.7}
\contentsline {section}{\numberline {11.8}FileSet Examples}{163}{section.11.8}
\contentsline {section}{\numberline {11.9}Backing up Raw Partitions}{168}{section.11.9}
\contentsline {section}{\numberline {11.10}Excluding Files and Directories}{168}{section.11.10}
\contentsline {section}{\numberline {11.11}Windows FileSets}{169}{section.11.11}
\contentsline {section}{\numberline {11.12}Testing Your FileSet}{172}{section.11.12}
\contentsline {section}{\numberline {11.13}The Client Resource}{173}{section.11.13}
\contentsline {section}{\numberline {11.14}The Storage Resource}{175}{section.11.14}
\contentsline {section}{\numberline {11.15}The Pool Resource}{178}{section.11.15}
\contentsline {subsection}{\numberline {11.15.1}The Scratch Pool}{188}{subsection.11.15.1}
\contentsline {section}{\numberline {11.16}The Catalog Resource}{188}{section.11.16}
\contentsline {section}{\numberline {11.17}The Messages Resource}{190}{section.11.17}
\contentsline {section}{\numberline {11.18}The Console Resource}{190}{section.11.18}
\contentsline {section}{\numberline {11.19}The Counter Resource}{193}{section.11.19}
\contentsline {section}{\numberline {11.20}Example Director Configuration File}{193}{section.11.20}
\contentsline {chapter}{\numberline {12}Client/File daemon Configuration}{197}{chapter.12}
\contentsline {section}{\numberline {12.1}The Client Resource}{197}{section.12.1}
\contentsline {section}{\numberline {12.2}The Director Resource}{201}{section.12.2}
\contentsline {section}{\numberline {12.3}The Message Resource}{202}{section.12.3}
\contentsline {section}{\numberline {12.4}Example Client Configuration File}{202}{section.12.4}
\contentsline {chapter}{\numberline {13}Storage Daemon Configuration}{205}{chapter.13}
\contentsline {section}{\numberline {13.1}Storage Resource}{206}{section.13.1}
\contentsline {section}{\numberline {13.2}Director Resource}{208}{section.13.2}
\contentsline {section}{\numberline {13.3}Device Resource}{209}{section.13.3}
\contentsline {section}{\numberline {13.4}Edit Codes for Mount and Unmount Directives}{222}{section.13.4}
\contentsline {section}{\numberline {13.5}Devices that require a mount (DVD)}{222}{section.13.5}
\contentsline {chapter}{\numberline {14}Autochanger Resource}{225}{chapter.14}
\contentsline {section}{\numberline {14.1}Capabilities}{227}{section.14.1}
\contentsline {section}{\numberline {14.2}Messages Resource}{227}{section.14.2}
\contentsline {section}{\numberline {14.3}Sample Storage Daemon Configuration File}{227}{section.14.3}
\contentsline {chapter}{\numberline {15}Messages Resource}{231}{chapter.15}
\contentsline {chapter}{\numberline {16}Console Configuration}{237}{chapter.16}
\contentsline {section}{\numberline {16.1}General}{237}{section.16.1}
\contentsline {section}{\numberline {16.2}The Director Resource}{237}{section.16.2}
\contentsline {section}{\numberline {16.3}The ConsoleFont Resource}{238}{section.16.3}
\contentsline {section}{\numberline {16.4}The Console Resource}{239}{section.16.4}
\contentsline {section}{\numberline {16.5}Console Commands}{242}{section.16.5}
\contentsline {section}{\numberline {16.6}Sample Console Configuration File}{242}{section.16.6}
\contentsline {chapter}{\numberline {17}Monitor Configuration}{245}{chapter.17}
\contentsline {section}{\numberline {17.1}The Monitor Resource}{245}{section.17.1}
\contentsline {section}{\numberline {17.2}The Director Resource}{246}{section.17.2}
\contentsline {section}{\numberline {17.3}The Client Resource}{247}{section.17.3}
\contentsline {section}{\numberline {17.4}The Storage Resource}{247}{section.17.4}
\contentsline {section}{\numberline {17.5}Tray Monitor Security}{248}{section.17.5}
\contentsline {section}{\numberline {17.6}Sample Tray Monitor configuration}{249}{section.17.6}
\contentsline {subsection}{\numberline {17.6.1}Sample File daemon's Director record.}{249}{subsection.17.6.1}
\contentsline {subsection}{\numberline {17.6.2}Sample Storage daemon's Director record.}{250}{subsection.17.6.2}
\contentsline {subsection}{\numberline {17.6.3}Sample Director's Console record.}{250}{subsection.17.6.3}
\contentsline {chapter}{\numberline {18}Bacula Console}{251}{chapter.18}
\contentsline {section}{\numberline {18.1}Console Configuration}{252}{section.18.1}
\contentsline {section}{\numberline {18.2}Running the Console Program}{252}{section.18.2}
\contentsline {section}{\numberline {18.3}Stopping the Console Program}{253}{section.18.3}
\contentsline {section}{\numberline {18.4}Alphabetic List of Console Keywords}{253}{section.18.4}
\contentsline {section}{\numberline {18.5}Alphabetic List of Console Commands}{256}{section.18.5}
\contentsline {section}{\numberline {18.6}Special dot Commands}{274}{section.18.6}
\contentsline {section}{\numberline {18.7}Special At (@) Commands}{275}{section.18.7}
\contentsline {section}{\numberline {18.8}Running the Console from a Shell Script}{276}{section.18.8}
\contentsline {section}{\numberline {18.9}Adding Volumes to a Pool}{277}{section.18.9}
\contentsline {chapter}{\numberline {19}The Restore Command}{279}{chapter.19}
\contentsline {section}{\numberline {19.1}General}{279}{section.19.1}
\contentsline {section}{\numberline {19.2}The Restore Command}{280}{section.19.2}
\contentsline {section}{\numberline {19.3}Selecting Files by Filename}{287}{section.19.3}
\contentsline {section}{\numberline {19.4}Command Line Arguments}{289}{section.19.4}
\contentsline {section}{\numberline {19.5}Using File Relocation}{291}{section.19.5}
\contentsline {subsection}{\numberline {19.5.1}Introduction}{291}{subsection.19.5.1}
\contentsline {subsection}{\numberline {19.5.2}RegexWhere format}{292}{subsection.19.5.2}
\contentsline {section}{\numberline {19.6}Restoring Directory Attributes}{292}{section.19.6}
\contentsline {section}{\numberline {19.7}Restoring on Windows}{293}{section.19.7}
\contentsline {section}{\numberline {19.8}Restoring Files Can Be Slow}{294}{section.19.8}
\contentsline {section}{\numberline {19.9}Problems Restoring Files}{294}{section.19.9}
\contentsline {section}{\numberline {19.10}Restore Errors}{296}{section.19.10}
\contentsline {section}{\numberline {19.11}Example Restore Job Resource}{296}{section.19.11}
\contentsline {section}{\numberline {19.12}File Selection Commands}{297}{section.19.12}
\contentsline {section}{\numberline {19.13}Restoring When Things Go Wrong}{299}{section.19.13}
\contentsline {chapter}{\numberline {20}GUI Programs}{307}{chapter.20}
\contentsline {section}{\numberline {20.1}List of GUI Programs}{307}{section.20.1}
\contentsline {section}{\numberline {20.2}bimagemgr}{312}{section.20.2}
\contentsline {subsection}{\numberline {20.2.1}bimagemgr installation}{312}{subsection.20.2.1}
\contentsline {subsection}{\numberline {20.2.2}bimagemgr usage}{314}{subsection.20.2.2}
\contentsline {chapter}{\numberline {21}Catalog Maintenance}{319}{chapter.21}
\contentsline {section}{\numberline {21.1}Setting Retention Periods}{319}{section.21.1}
\contentsline {section}{\numberline {21.2}Compacting Your MySQL Database}{321}{section.21.2}
\contentsline {section}{\numberline {21.3}Repairing Your MySQL Database}{322}{section.21.3}
\contentsline {section}{\numberline {21.4}MySQL Table is Full}{323}{section.21.4}
\contentsline {section}{\numberline {21.5}MySQL Server Has Gone Away}{324}{section.21.5}
\contentsline {section}{\numberline {21.6}Repairing Your PostgreSQL Database}{324}{section.21.6}
\contentsline {section}{\numberline {21.7}Database Performance Issues}{324}{section.21.7}
\contentsline {section}{\numberline {21.8}Performance Issues Indexes}{325}{section.21.8}
\contentsline {subsection}{\numberline {21.8.1}PostgreSQL Indexes}{325}{subsection.21.8.1}
\contentsline {subsection}{\numberline {21.8.2}MySQL Indexes}{326}{subsection.21.8.2}
\contentsline {subsection}{\numberline {21.8.3}SQLite Indexes}{326}{subsection.21.8.3}
\contentsline {section}{\numberline {21.9}Compacting Your PostgreSQL Database}{327}{section.21.9}
\contentsline {section}{\numberline {21.10}Compacting Your SQLite Database}{328}{section.21.10}
\contentsline {section}{\numberline {21.11}Migrating from SQLite to MySQL or PostgreSQL}{328}{section.21.11}
\contentsline {section}{\numberline {21.12}Backing Up Your Bacula Database}{328}{section.21.12}
\contentsline {section}{\numberline {21.13}Security considerations}{330}{section.21.13}
\contentsline {section}{\numberline {21.14}Backing Up Third Party Databases}{331}{section.21.14}
\contentsline {section}{\numberline {21.15}Database Size}{331}{section.21.15}
\contentsline {chapter}{\numberline {22}Automatic Volume Recycling}{335}{chapter.22}
\contentsline {section}{\numberline {22.1}Automatic Pruning}{337}{section.22.1}
\contentsline {section}{\numberline {22.2}Pruning Directives}{337}{section.22.2}
\contentsline {section}{\numberline {22.3}Recycling Algorithm}{340}{section.22.3}
\contentsline {section}{\numberline {22.4}Recycle Status}{342}{section.22.4}
\contentsline {section}{\numberline {22.5}Making Bacula Use a Single Tape}{344}{section.22.5}
\contentsline {section}{\numberline {22.6}Daily, Weekly, Monthly Tape Usage Example}{344}{section.22.6}
\contentsline {section}{\numberline {22.7} Automatic Pruning and Recycling Example}{346}{section.22.7}
\contentsline {section}{\numberline {22.8}Manually Recycling Volumes}{348}{section.22.8}
\contentsline {chapter}{\numberline {23}Basic Volume Management}{351}{chapter.23}
\contentsline {section}{\numberline {23.1}Key Concepts and Resource Records}{351}{section.23.1}
\contentsline {subsection}{\numberline {23.1.1}Pool Options to Limit the Volume Usage}{352}{subsection.23.1.1}
\contentsline {subsection}{\numberline {23.1.2}Automatic Volume Labeling}{354}{subsection.23.1.2}
\contentsline {subsection}{\numberline {23.1.3}Restricting the Number of Volumes and Recycling}{355}{subsection.23.1.3}
\contentsline {section}{\numberline {23.2}Concurrent Disk Jobs}{356}{section.23.2}
\contentsline {section}{\numberline {23.3}An Example}{357}{section.23.3}
\contentsline {section}{\numberline {23.4}Backing up to Multiple Disks}{360}{section.23.4}
\contentsline {section}{\numberline {23.5}Considerations for Multiple Clients}{362}{section.23.5}
\contentsline {chapter}{\numberline {24}DVD Volumes}{367}{chapter.24}
\contentsline {section}{\numberline {24.1}DVD Specific SD Directives}{368}{section.24.1}
\contentsline {section}{\numberline {24.2}Edit Codes for DVD Directives}{369}{section.24.2}
\contentsline {section}{\numberline {24.3}DVD Specific Director Directives}{370}{section.24.3}
\contentsline {section}{\numberline {24.4}Other Points}{370}{section.24.4}
\contentsline {chapter}{\numberline {25}Automated Disk Backup}{373}{chapter.25}
\contentsline {section}{\numberline {25.1}The Problem}{373}{section.25.1}
\contentsline {section}{\numberline {25.2}The Solution}{373}{section.25.2}
\contentsline {section}{\numberline {25.3}Overall Design}{374}{section.25.3}
\contentsline {subsection}{\numberline {25.3.1}Full Pool}{375}{subsection.25.3.1}
\contentsline {subsection}{\numberline {25.3.2}Differential Pool}{376}{subsection.25.3.2}
\contentsline {subsection}{\numberline {25.3.3}Incremental Pool}{376}{subsection.25.3.3}
\contentsline {section}{\numberline {25.4}The Actual Conf Files}{377}{section.25.4}
\contentsline {chapter}{\numberline {26}Migration}{383}{chapter.26}
\contentsline {section}{\numberline {26.1}Migration Job Resource Directives}{385}{section.26.1}
\contentsline {section}{\numberline {26.2}Migration Pool Resource Directives}{387}{section.26.2}
\contentsline {section}{\numberline {26.3}Important Migration Considerations}{388}{section.26.3}
\contentsline {section}{\numberline {26.4}Example Migration Jobs}{390}{section.26.4}
\contentsline {chapter}{\numberline {27}Backup Strategies}{393}{chapter.27}
\contentsline {section}{\numberline {27.1}Simple One Tape Backup}{393}{section.27.1}
\contentsline {subsection}{\numberline {27.1.1}Advantages}{393}{subsection.27.1.1}
\contentsline {subsection}{\numberline {27.1.2}Disadvantages}{394}{subsection.27.1.2}
\contentsline {subsection}{\numberline {27.1.3}Practical Details}{394}{subsection.27.1.3}
\contentsline {section}{\numberline {27.2}Manually Changing Tapes}{394}{section.27.2}
\contentsline {section}{\numberline {27.3}Daily Tape Rotation}{395}{section.27.3}
\contentsline {subsection}{\numberline {27.3.1}Advantages}{395}{subsection.27.3.1}
\contentsline {subsection}{\numberline {27.3.2}Disadvantages}{396}{subsection.27.3.2}
\contentsline {subsection}{\numberline {27.3.3}Practical Details}{396}{subsection.27.3.3}
\contentsline {chapter}{\numberline {28}Autochanger Support}{403}{chapter.28}
\contentsline {section}{\numberline {28.1}Knowing What SCSI Devices You Have}{405}{section.28.1}
\contentsline {section}{\numberline {28.2}Example Scripts}{406}{section.28.2}
\contentsline {section}{\numberline {28.3}Slots}{406}{section.28.3}
\contentsline {section}{\numberline {28.4}Multiple Devices}{407}{section.28.4}
\contentsline {section}{\numberline {28.5}Device Configuration Records}{407}{section.28.5}
\contentsline {chapter}{\numberline {29}Autochanger Resource}{411}{chapter.29}
\contentsline {section}{\numberline {29.1}An Example Configuration File}{413}{section.29.1}
\contentsline {section}{\numberline {29.2}A Multi-drive Example Configuration File}{413}{section.29.2}
\contentsline {section}{\numberline {29.3}Specifying Slots When Labeling}{414}{section.29.3}
\contentsline {section}{\numberline {29.4}Changing Cartridges}{415}{section.29.4}
\contentsline {section}{\numberline {29.5}Dealing with Multiple Magazines}{416}{section.29.5}
\contentsline {section}{\numberline {29.6}Simulating Barcodes in your Autochanger}{417}{section.29.6}
\contentsline {section}{\numberline {29.7}The Full Form of the Update Slots Command}{417}{section.29.7}
\contentsline {section}{\numberline {29.8}FreeBSD Issues}{418}{section.29.8}
\contentsline {section}{\numberline {29.9}Testing Autochanger and Adapting mtx-changer script}{419}{section.29.9}
\contentsline {section}{\numberline {29.10}Using the Autochanger}{421}{section.29.10}
\contentsline {section}{\numberline {29.11}Barcode Support}{423}{section.29.11}
\contentsline {section}{\numberline {29.12}Bacula Autochanger Interface}{423}{section.29.12}
\contentsline {chapter}{\numberline {30}Supported Autochangers}{425}{chapter.30}
\contentsline {chapter}{\numberline {31}Data Spooling}{429}{chapter.31}
\contentsline {section}{\numberline {31.1}Data Spooling Directives}{430}{section.31.1}
\contentsline {section}{\numberline {31.2}!!! MAJOR WARNING !!!}{430}{section.31.2}
\contentsline {section}{\numberline {31.3}Other Points}{431}{section.31.3}
\contentsline {chapter}{\numberline {32}Python Scripting}{433}{chapter.32}
\contentsline {section}{\numberline {32.1}Python Configuration}{433}{section.32.1}
\contentsline {section}{\numberline {32.2}Bacula Events}{434}{section.32.2}
\contentsline {section}{\numberline {32.3}Python Objects}{434}{section.32.3}
\contentsline {section}{\numberline {32.4}Python Console Command}{439}{section.32.4}
\contentsline {section}{\numberline {32.5}Debugging Python Scripts}{440}{section.32.5}
\contentsline {section}{\numberline {32.6}Python Example}{440}{section.32.6}
\contentsline {chapter}{\numberline {33}ANSI and IBM Tape Labels}{443}{chapter.33}
\contentsline {section}{\numberline {33.1}Director Pool Directive}{443}{section.33.1}
\contentsline {section}{\numberline {33.2}Storage Daemon Device Directives}{444}{section.33.2}
\contentsline {chapter}{\numberline {34}Bacula Frequently Asked Questions}{445}{chapter.34}
\contentsline {section}{\numberline {34.1}What is Bacula?}{445}{section.34.1}
\contentsline {section}{\numberline {34.2}Does Bacula support Windows?}{445}{section.34.2}
\contentsline {section}{\numberline {34.3}What language is Bacula written in?}{446}{section.34.3}
\contentsline {section}{\numberline {34.4}On what machines does Bacula run?}{446}{section.34.4}
\contentsline {section}{\numberline {34.5}Is Bacula Stable?}{446}{section.34.5}
\contentsline {section}{\numberline {34.6}I'm Getting Authorization Errors. What is Going On? }{447}{section.34.6}
\contentsline {section}{\numberline {34.7}Bacula Runs Fine but Cannot Access a Client on a Different Machine. Why? }{449}{section.34.7}
\contentsline {section}{\numberline {34.8}My Catalog is Full of Test Runs, How Can I Start Over?}{449}{section.34.8}
\contentsline {section}{\numberline {34.9}I Run a Restore Job and Bacula Hangs. What do I do?}{450}{section.34.9}
\contentsline {section}{\numberline {34.10}I Cannot Get My Windows Client to Start Automatically? }{450}{section.34.10}
\contentsline {section}{\numberline {34.11}My Windows Client Immediately Dies When I Start It}{451}{section.34.11}
\contentsline {section}{\numberline {34.12}My backups are not working on my Windows Client. What should I do?}{451}{section.34.12}
\contentsline {section}{\numberline {34.13}All my Jobs are scheduled for the same time. Will this cause problems?}{452}{section.34.13}
\contentsline {section}{\numberline {34.14}Can Bacula Backup My System To Files instead of Tape?}{452}{section.34.14}
\contentsline {section}{\numberline {34.15}Can I use a dummy device to test the backup?}{452}{section.34.15}
\contentsline {section}{\numberline {34.16}Can Bacula Backup and Restore Files Bigger than 2 Gigabytes?}{453}{section.34.16}
\contentsline {section}{\numberline {34.17}I want to stop a job.}{453}{section.34.17}
\contentsline {section}{\numberline {34.18}Why have You Trademarked the Name Bacula?}{453}{section.34.18}
\contentsline {section}{\numberline {34.19}Why is the Online Document for Version 1.39 but the Released Version is 1.38?}{454}{section.34.19}
\contentsline {section}{\numberline {34.20}Does Bacula really save and restore all files?}{454}{section.34.20}
\contentsline {section}{\numberline {34.21}I want an Incremental but Bacula runs it as a Full backup. Why?}{454}{section.34.21}
\contentsline {section}{\numberline {34.22}Do you really handle unlimited path lengths?}{455}{section.34.22}
\contentsline {section}{\numberline {34.23}What Is the Really Unique Feature of Bacula?}{455}{section.34.23}
\contentsline {section}{\numberline {34.24}How can I force one job to run after another?}{456}{section.34.24}
\contentsline {section}{\numberline {34.25}I Am Not Getting Email Notification, What Can I Do? }{456}{section.34.25}
\contentsline {section}{\numberline {34.26}My retention periods don't work}{456}{section.34.26}
\contentsline {section}{\numberline {34.27}Why aren't my files compressed?}{457}{section.34.27}
\contentsline {section}{\numberline {34.28}Incremental backups are not working}{458}{section.34.28}
\contentsline {section}{\numberline {34.29}I am waiting forever for a backup of an offsite machine}{458}{section.34.29}
\contentsline {section}{\numberline {34.30}SSH hangs forever after starting Bacula}{459}{section.34.30}
\contentsline {section}{\numberline {34.31}I'm confused by retention periods}{459}{section.34.31}
\contentsline {section}{\numberline {34.32}MaxVolumeSize is ignored}{460}{section.34.32}
\contentsline {section}{\numberline {34.33}I get a Connection refused when connecting to my Client}{460}{section.34.33}
\contentsline {section}{\numberline {34.34}Long running jobs die with Pipe Error}{461}{section.34.34}
\contentsline {section}{\numberline {34.35}How do I tell the Job which Volume to use?}{461}{section.34.35}
\contentsline {section}{\numberline {34.36}Password generation}{462}{section.34.36}
\contentsline {chapter}{\numberline {35}Tips and Suggestions}{463}{chapter.35}
\contentsline {section}{\numberline {35.1}Upgrading Bacula Versions}{463}{section.35.1}
\contentsline {section}{\numberline {35.2}Getting Notified of Job Completion}{464}{section.35.2}
\contentsline {section}{\numberline {35.3}Getting Email Notification to Work}{465}{section.35.3}
\contentsline {section}{\numberline {35.4}Getting Notified that Bacula is Running}{466}{section.35.4}
\contentsline {section}{\numberline {35.5}Maintaining a Valid Bootstrap File}{468}{section.35.5}
\contentsline {section}{\numberline {35.6}Rejected Volumes After a Crash}{470}{section.35.6}
\contentsline {section}{\numberline {35.7}Security Considerations}{473}{section.35.7}
\contentsline {section}{\numberline {35.8}Creating Holiday Schedules}{474}{section.35.8}
\contentsline {section}{\numberline {35.9}Automatic Labeling Using Your Autochanger}{474}{section.35.9}
\contentsline {section}{\numberline {35.10}Backing Up Portables Using DHCP}{475}{section.35.10}
\contentsline {section}{\numberline {35.11}Going on Vacation}{476}{section.35.11}
\contentsline {section}{\numberline {35.12}Exclude Files on Windows Regardless of Case}{477}{section.35.12}
\contentsline {section}{\numberline {35.13}Executing Scripts on a Remote Machine}{477}{section.35.13}
\contentsline {section}{\numberline {35.14}Recycling All Your Volumes}{478}{section.35.14}
\contentsline {section}{\numberline {35.15}Backing up ACLs on ext3 or XFS filesystems}{479}{section.35.15}
\contentsline {section}{\numberline {35.16}Total Automation of Bacula Tape Handling}{479}{section.35.16}
\contentsline {section}{\numberline {35.17}Running Concurrent Jobs}{480}{section.35.17}
\contentsline {chapter}{\numberline {36}Volume Utility Tools}{483}{chapter.36}
\contentsline {section}{\numberline {36.1}Specifying the Configuration File}{483}{section.36.1}
\contentsline {section}{\numberline {36.2}Specifying a Device Name For a Tape}{483}{section.36.2}
\contentsline {section}{\numberline {36.3}Specifying a Device Name For a File}{484}{section.36.3}
\contentsline {section}{\numberline {36.4}Specifying Volumes}{484}{section.36.4}
\contentsline {section}{\numberline {36.5}bls}{485}{section.36.5}
\contentsline {subsection}{\numberline {36.5.1}Listing Jobs}{486}{subsection.36.5.1}
\contentsline {subsection}{\numberline {36.5.2}Listing Blocks}{487}{subsection.36.5.2}
\contentsline {section}{\numberline {36.6}bextract}{488}{section.36.6}
\contentsline {subsection}{\numberline {36.6.1}Extracting with Include or Exclude Lists}{489}{subsection.36.6.1}
\contentsline {subsection}{\numberline {36.6.2}Extracting With a Bootstrap File}{490}{subsection.36.6.2}
\contentsline {subsection}{\numberline {36.6.3}Extracting From Multiple Volumes}{490}{subsection.36.6.3}
\contentsline {section}{\numberline {36.7}bscan}{491}{section.36.7}
\contentsline {subsection}{\numberline {36.7.1}Using bscan to Compare a Volume to an existing Catalog}{494}{subsection.36.7.1}
\contentsline {subsection}{\numberline {36.7.2}Using bscan to Recreate a Catalog from a Volume}{494}{subsection.36.7.2}
\contentsline {subsection}{\numberline {36.7.3}Using bscan to Correct the Volume File Count}{496}{subsection.36.7.3}
\contentsline {subsection}{\numberline {36.7.4}After bscan}{497}{subsection.36.7.4}
\contentsline {section}{\numberline {36.8}bcopy}{497}{section.36.8}
\contentsline {subsection}{\numberline {36.8.1}bcopy Command Options}{497}{subsection.36.8.1}
\contentsline {section}{\numberline {36.9}btape}{498}{section.36.9}
\contentsline {subsection}{\numberline {36.9.1}Using btape to Verify your Tape Drive}{498}{subsection.36.9.1}
\contentsline {subsection}{\numberline {36.9.2}btape Commands}{499}{subsection.36.9.2}
\contentsline {section}{\numberline {36.10}Other Programs}{500}{section.36.10}
\contentsline {section}{\numberline {36.11}bsmtp}{500}{section.36.11}
\contentsline {section}{\numberline {36.12}dbcheck}{502}{section.36.12}
\contentsline {section}{\numberline {36.13}bregex}{505}{section.36.13}
\contentsline {section}{\numberline {36.14}bwild}{505}{section.36.14}
\contentsline {section}{\numberline {36.15}testfind}{506}{section.36.15}
\contentsline {chapter}{\numberline {37}Testing Your Tape Drive With Bacula}{509}{chapter.37}
\contentsline {section}{\numberline {37.1}Get Your Tape Drive Working}{509}{section.37.1}
\contentsline {subsection}{\numberline {37.1.1}Problems When no Tape in Drive}{511}{subsection.37.1.1}
\contentsline {subsection}{\numberline {37.1.2}Specifying the Configuration File}{512}{subsection.37.1.2}
\contentsline {subsection}{\numberline {37.1.3}Specifying a Device Name For a Tape}{512}{subsection.37.1.3}
\contentsline {subsection}{\numberline {37.1.4}Specifying a Device Name For a File}{513}{subsection.37.1.4}
\contentsline {section}{\numberline {37.2}btape}{513}{section.37.2}
\contentsline {subsection}{\numberline {37.2.1}Using btape to Verify your Tape Drive}{514}{subsection.37.2.1}
\contentsline {subsection}{\numberline {37.2.2}Linux SCSI Tricks}{515}{subsection.37.2.2}
\contentsline {section}{\numberline {37.3}Tips for Resolving Problems}{518}{section.37.3}
\contentsline {subsection}{\numberline {37.3.1}Bacula Saves But Cannot Restore Files}{518}{subsection.37.3.1}
\contentsline {subsection}{\numberline {37.3.2}Bacula Cannot Open the Device}{519}{subsection.37.3.2}
\contentsline {subsection}{\numberline {37.3.3}Incorrect File Number}{520}{subsection.37.3.3}
\contentsline {subsection}{\numberline {37.3.4}Incorrect Number of Blocks or Positioning Errors}{520}{subsection.37.3.4}
\contentsline {subsection}{\numberline {37.3.5}Ensuring that the Tape Modes Are Properly Set -- {\bf Linux Only}}{521}{subsection.37.3.5}
\contentsline {subsection}{\numberline {37.3.6}Tape Hardware Compression and Blocking Size}{523}{subsection.37.3.6}
\contentsline {subsection}{\numberline {37.3.7}Tape Modes on FreeBSD}{525}{subsection.37.3.7}
\contentsline {subsection}{\numberline {37.3.8}Finding your Tape Drives and Autochangers on FreeBSD}{527}{subsection.37.3.8}
\contentsline {subsection}{\numberline {37.3.9}Using the OnStream driver on Linux Systems}{527}{subsection.37.3.9}
\contentsline {section}{\numberline {37.4}Hardware Compression on EXB-8900}{528}{section.37.4}
\contentsline {subsection}{\numberline {37.4.1}Using btape to Simulate Filling a Tape}{528}{subsection.37.4.1}
\contentsline {section}{\numberline {37.5}Recovering Files Written With Fixed Block Sizes}{529}{section.37.5}
\contentsline {section}{\numberline {37.6}Tape Blocking Modes}{529}{section.37.6}
\contentsline {section}{\numberline {37.7}Details of Tape Modes}{530}{section.37.7}
\contentsline {section}{\numberline {37.8}Autochanger Errors}{532}{section.37.8}
\contentsline {section}{\numberline {37.9}Syslog Errors}{532}{section.37.9}
\contentsline {chapter}{\numberline {38}What To Do When Bacula Crashes (Kaboom)}{533}{chapter.38}
\contentsline {section}{\numberline {38.1}Traceback}{533}{section.38.1}
\contentsline {section}{\numberline {38.2}Testing The Traceback}{534}{section.38.2}
\contentsline {section}{\numberline {38.3}Getting A Traceback On Other Systems}{535}{section.38.3}
\contentsline {section}{\numberline {38.4}Manually Running Bacula Under The Debugger}{536}{section.38.4}
\contentsline {section}{\numberline {38.5}Getting Debug Output from Bacula}{537}{section.38.5}
\contentsline {chapter}{\numberline {39}The Windows Version of Bacula}{539}{chapter.39}
\contentsline {section}{\numberline {39.1}Win32 Installation}{540}{section.39.1}
\contentsline {section}{\numberline {39.2}Post Win32 Installation}{543}{section.39.2}
\contentsline {section}{\numberline {39.3}Uninstalling Bacula on Win32}{543}{section.39.3}
\contentsline {section}{\numberline {39.4}Dealing with Win32 Problems}{543}{section.39.4}
\contentsline {section}{\numberline {39.5}Windows Compatibility Considerations}{546}{section.39.5}
\contentsline {section}{\numberline {39.6}Volume Shadow Copy Service}{549}{section.39.6}
\contentsline {section}{\numberline {39.7}VSS Problems}{551}{section.39.7}
\contentsline {section}{\numberline {39.8}Windows Firewalls}{551}{section.39.8}
\contentsline {section}{\numberline {39.9}Windows Port Usage}{551}{section.39.9}
\contentsline {section}{\numberline {39.10}Windows Disaster Recovery}{552}{section.39.10}
\contentsline {section}{\numberline {39.11}Windows Restore Problems}{552}{section.39.11}
\contentsline {section}{\numberline {39.12}Windows Ownership and Permissions Problems}{553}{section.39.12}
\contentsline {section}{\numberline {39.13}Manually resetting the Permissions}{554}{section.39.13}
\contentsline {section}{\numberline {39.14}Backing Up the WinNT/XP/2K System State}{557}{section.39.14}
\contentsline {section}{\numberline {39.15}Considerations for Filename Specifications}{557}{section.39.15}
\contentsline {section}{\numberline {39.16}Win32 Specific File daemon Command Line}{558}{section.39.16}
\contentsline {section}{\numberline {39.17}Shutting down Windows Systems}{558}{section.39.17}
\contentsline {chapter}{\numberline {40}Disaster Recovery Using Bacula}{559}{chapter.40}
\contentsline {section}{\numberline {40.1}General}{559}{section.40.1}
\contentsline {section}{\numberline {40.2}Important Considerations}{559}{section.40.2}
\contentsline {section}{\numberline {40.3}Steps to Take Before Disaster Strikes}{560}{section.40.3}
\contentsline {section}{\numberline {40.4}Bare Metal Recovery on Linux with a Bacula Rescue CD}{560}{section.40.4}
\contentsline {section}{\numberline {40.5}Requirements}{562}{section.40.5}
\contentsline {section}{\numberline {40.6}Directories}{563}{section.40.6}
\contentsline {section}{\numberline {40.7}Preparation for a Bare Metal Recovery}{563}{section.40.7}
\contentsline {section}{\numberline {40.8}Creating a Bacula Rescue CDROM}{563}{section.40.8}
\contentsline {section}{\numberline {40.9}Putting Multiple Systems on Your Rescue Disk}{567}{section.40.9}
\contentsline {section}{\numberline {40.10}Restoring a Client System}{569}{section.40.10}
\contentsline {section}{\numberline {40.11}Boot with your Bacula Rescue CDROM}{569}{section.40.11}
\contentsline {section}{\numberline {40.12}Restoring a Server}{575}{section.40.12}
\contentsline {section}{\numberline {40.13}Linux Problems or Bugs}{576}{section.40.13}
\contentsline {section}{\numberline {40.14}Bare Metal Recovery using a LiveCD}{577}{section.40.14}
\contentsline {section}{\numberline {40.15}FreeBSD Bare Metal Recovery}{578}{section.40.15}
\contentsline {section}{\numberline {40.16}Solaris Bare Metal Recovery}{580}{section.40.16}
\contentsline {section}{\numberline {40.17}Preparing Solaris Before a Disaster}{580}{section.40.17}
\contentsline {section}{\numberline {40.18}Bugs and Other Considerations}{581}{section.40.18}
\contentsline {section}{\numberline {40.19}Disaster Recovery of Win32 Systems}{581}{section.40.19}
\contentsline {section}{\numberline {40.20}Ownership and Permissions on Win32 Systems}{582}{section.40.20}
\contentsline {section}{\numberline {40.21}Alternate Disaster Recovery Suggestion for Win32 Systems}{583}{section.40.21}
\contentsline {section}{\numberline {40.22}Restoring to a Running System}{584}{section.40.22}
\contentsline {section}{\numberline {40.23}Additional Resources}{584}{section.40.23}
\contentsline {chapter}{\numberline {41}Bacula TLS -- Communications Encryption}{585}{chapter.41}
\contentsline {section}{\numberline {41.1}TLS Configuration Directives}{586}{section.41.1}
\contentsline {section}{\numberline {41.2}Creating a Self-signed Certificate}{587}{section.41.2}
\contentsline {section}{\numberline {41.3}Getting a CA Signed Certificate}{588}{section.41.3}
\contentsline {section}{\numberline {41.4}Example TLS Configuration Files}{588}{section.41.4}
\contentsline {chapter}{\numberline {42}Data Encryption}{593}{chapter.42}
\contentsline {section}{\numberline {42.1}Building Bacula with Encryption Support}{594}{section.42.1}
\contentsline {section}{\numberline {42.2}Encryption Technical Details}{594}{section.42.2}
\contentsline {section}{\numberline {42.3}Decrypting with a Master Key}{595}{section.42.3}
\contentsline {section}{\numberline {42.4}Generating Private/Public Encryption Keys}{596}{section.42.4}
\contentsline {section}{\numberline {42.5}Example Data Encryption Configuration}{596}{section.42.5}
\contentsline {chapter}{\numberline {43}Bacula Security Issues}{597}{chapter.43}
\contentsline {section}{\numberline {43.1}Backward Compatibility}{598}{section.43.1}
\contentsline {section}{\numberline {43.2}Configuring and Testing TCP Wrappers}{599}{section.43.2}
\contentsline {section}{\numberline {43.3}Running as non-root}{601}{section.43.3}
\contentsline {chapter}{\numberline {44}Dealing with Firewalls}{605}{chapter.44}
\contentsline {section}{\numberline {44.1}Technical Details}{605}{section.44.1}
\contentsline {section}{\numberline {44.2}A Concrete Example}{606}{section.44.2}
\contentsline {subsection}{\numberline {44.2.1}The Bacula Configuration Files for the Above}{608}{subsection.44.2.1}
\contentsline {subsection}{\numberline {44.2.2}How Does It Work?}{610}{subsection.44.2.2}
\contentsline {subsection}{\numberline {44.2.3}Important Note}{611}{subsection.44.2.3}
\contentsline {subsection}{\numberline {44.2.4}Firewall Problems}{611}{subsection.44.2.4}
\contentsline {chapter}{\numberline {45}Using Bacula to Improve Computer Security}{613}{chapter.45}
\contentsline {section}{\numberline {45.1}The Details}{614}{section.45.1}
\contentsline {section}{\numberline {45.2}Running the Verify}{615}{section.45.2}
\contentsline {section}{\numberline {45.3}What To Do When Differences Are Found}{617}{section.45.3}
\contentsline {section}{\numberline {45.4}A Verify Configuration Example}{618}{section.45.4}
\contentsline {chapter}{\numberline {46}Bacula RPM Packaging FAQ}{621}{chapter.46}
\contentsline {section}{\numberline {46.1}Answers}{621}{section.46.1}
\contentsline {section}{\numberline {46.2}Build Options}{625}{section.46.2}
\contentsline {section}{\numberline {46.3}RPM Install Problems}{627}{section.46.3}
\contentsline {chapter}{\numberline {47}The Bootstrap File}{629}{chapter.47}
\contentsline {section}{\numberline {47.1}Bootstrap File Format}{629}{section.47.1}
\contentsline {section}{\numberline {47.2}Automatic Generation of Bootstrap Files}{634}{section.47.2}
\contentsline {section}{\numberline {47.3}Bootstrap for bscan}{635}{section.47.3}
\contentsline {section}{\numberline {47.4}A Final Bootstrap Example}{635}{section.47.4}
\contentsline {chapter}{\numberline {48}Installing and Configuring MySQL}{637}{chapter.48}
\contentsline {section}{\numberline {48.1}Installing and Configuring MySQL -- Phase I}{637}{section.48.1}
\contentsline {section}{\numberline {48.2}Installing and Configuring MySQL -- Phase II}{639}{section.48.2}
\contentsline {section}{\numberline {48.3}Re-initializing the Catalog Database}{640}{section.48.3}
\contentsline {section}{\numberline {48.4}Linking Bacula with MySQL}{641}{section.48.4}
\contentsline {section}{\numberline {48.5}Installing MySQL from RPMs}{642}{section.48.5}
\contentsline {section}{\numberline {48.6}Upgrading MySQL}{642}{section.48.6}
\contentsline {chapter}{\numberline {49}Installing and Configuring PostgreSQL}{643}{chapter.49}
\contentsline {section}{\numberline {49.1}Installing PostgreSQL}{643}{section.49.1}
\contentsline {section}{\numberline {49.2}Configuring PostgreSQL}{644}{section.49.2}
\contentsline {section}{\numberline {49.3}Re-initializing the Catalog Database}{648}{section.49.3}
\contentsline {section}{\numberline {49.4}Installing PostgreSQL from RPMs}{648}{section.49.4}
\contentsline {section}{\numberline {49.5}Converting from MySQL to PostgreSQL}{649}{section.49.5}
\contentsline {section}{\numberline {49.6}Upgrading PostgreSQL}{651}{section.49.6}
\contentsline {section}{\numberline {49.7}Credits}{651}{section.49.7}
\contentsline {chapter}{\numberline {50}Installing and Configuring SQLite}{653}{chapter.50}
\contentsline {section}{\numberline {50.1}Installing and Configuring SQLite -- Phase I}{653}{section.50.1}
\contentsline {section}{\numberline {50.2}Installing and Configuring SQLite -- Phase II}{654}{section.50.2}
\contentsline {section}{\numberline {50.3}Linking Bacula with SQLite}{655}{section.50.3}
\contentsline {section}{\numberline {50.4}Testing SQLite}{655}{section.50.4}
\contentsline {section}{\numberline {50.5}Re-initializing the Catalog Database}{655}{section.50.5}
\contentsline {section}{\numberline {50.6}Internal Bacula Database}{657}{section.50.6}
\contentsline {chapter}{\numberline {51}Bacula Copyright, Trademark, and Licenses}{659}{chapter.51}
\contentsline {section}{\numberline {51.1}FDL}{659}{section.51.1}
\contentsline {section}{\numberline {51.2}GPL}{659}{section.51.2}
\contentsline {section}{\numberline {51.3}LGPL}{660}{section.51.3}
\contentsline {section}{\numberline {51.4}Public Domain}{660}{section.51.4}
\contentsline {section}{\numberline {51.5}Trademark}{660}{section.51.5}
\contentsline {section}{\numberline {51.6}Fiduciary License Agreement}{660}{section.51.6}
\contentsline {section}{\numberline {51.7}Disclaimer}{661}{section.51.7}
\contentsline {chapter}{\numberline {52}GNU Free Documentation License}{663}{chapter.52}
\contentsline {section}{\numberline {52.1}Table of Contents}{673}{section.52.1}
\contentsline {section}{\numberline {52.2}GNU GENERAL PUBLIC LICENSE}{673}{section.52.2}
\contentsline {section}{\numberline {52.3}Preamble}{673}{section.52.3}
\contentsline {section}{\numberline {52.4}TERMS AND CONDITIONS}{674}{section.52.4}
\contentsline {section}{\numberline {52.5}How to Apply These Terms to Your New Programs}{679}{section.52.5}
\contentsline {section}{\numberline {52.6}Table of Contents}{682}{section.52.6}
\contentsline {section}{\numberline {52.7}GNU LESSER GENERAL PUBLIC LICENSE}{682}{section.52.7}
\contentsline {section}{\numberline {52.8}Preamble}{683}{section.52.8}
\contentsline {section}{\numberline {52.9}TERMS AND CONDITIONS}{685}{section.52.9}
\contentsline {section}{\numberline {52.10}How to Apply These Terms to Your New Libraries}{692}{section.52.10}
\contentsline {chapter}{\numberline {53}Bacula Projects}{695}{chapter.53}
\contentsline {chapter}{\numberline {54}Thanks}{697}{chapter.54}
\contentsline {section}{\numberline {54.1}Bacula Bugs}{700}{section.54.1}
\contentsline {chapter}{\numberline {55}Variable Expansion}{701}{chapter.55}
\contentsline {section}{\numberline {55.1}General Functionality}{701}{section.55.1}
\contentsline {section}{\numberline {55.2}Bacula Variables}{702}{section.55.2}
\contentsline {section}{\numberline {55.3}Full Syntax}{703}{section.55.3}
\contentsline {section}{\numberline {55.4}Semantics}{704}{section.55.4}
\contentsline {section}{\numberline {55.5}Examples}{705}{section.55.5}
\contentsline {chapter}{\numberline {56}Using Stunnel to Encrypt Communications}{707}{chapter.56}
\contentsline {section}{\numberline {56.1}Communications Ports Used}{707}{section.56.1}
\contentsline {section}{\numberline {56.2}Encryption}{708}{section.56.2}
\contentsline {section}{\numberline {56.3}A Picture}{708}{section.56.3}
\contentsline {section}{\numberline {56.4}Certificates}{709}{section.56.4}
\contentsline {section}{\numberline {56.5}Securing the Data Channel}{709}{section.56.5}
\contentsline {section}{\numberline {56.6}Data Channel Configuration}{710}{section.56.6}
\contentsline {section}{\numberline {56.7}Stunnel Configuration for the Data Channel}{710}{section.56.7}
\contentsline {section}{\numberline {56.8}Starting and Testing the Data Encryption}{712}{section.56.8}
\contentsline {section}{\numberline {56.9}Encrypting the Control Channel}{712}{section.56.9}
\contentsline {section}{\numberline {56.10}Control Channel Configuration}{713}{section.56.10}
\contentsline {section}{\numberline {56.11}Stunnel Configuration for the Control Channel}{713}{section.56.11}
\contentsline {section}{\numberline {56.12}Starting and Testing the Control Channel}{714}{section.56.12}
\contentsline {section}{\numberline {56.13}Using stunnel to Encrypt to a Second Client}{715}{section.56.13}
\contentsline {section}{\numberline {56.14}Creating a Self-signed Certificate}{716}{section.56.14}
\contentsline {section}{\numberline {56.15}Getting a CA Signed Certificate}{717}{section.56.15}
\contentsline {section}{\numberline {56.16}Using ssh to Secure the Communications}{717}{section.56.16}
