Teste
R
The Leading Open Source Backup Solution.
Kern Sibbald
August 30, 2010 This manual documents Bacula version 5.0.3 (04 August 2010) Copyright c 1999-2010, Free Software Foundation Europe e.V. Bacula R is a registered trademark of Kern Sibbald. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ”GNU Free Documentation License”.
Contents
1 Python Scripting 1.1 1.2 1.3 1.4 1.5 1.6 Python Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bacula Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Python Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Python Console Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 2 2 5 5 6 9 9 9 10 11 11 13 13 13 14 14 14 15 15 16 16 17 17
Debugging Python Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Python Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Variable Expansion 2.1 2.2 2.3 2.4 2.5 General Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bacula Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Full Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Semantics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Using Stunnel to Encrypt Communications 3.1 3.2 3.3 3.4 3.5 3.6 3.7