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