NAME
RackMan::Format::Bacula - Generate the Bacula config files for a given RackObject
SYNOPSIS
use RackMan::Format::Bacula;
RackMan::Format::Bacula->write({
rackdev => $rackdev, # a RackMan::Device instance
rackman => $rackman, # a RackMan instance
});
DESCRIPTION
This module generates the Bacula configuration files for the given RackObject.
METHODS
write
Generate the file.
Arguments
Arguments are expected as a hashref with the following keys:
rackdev
- (mandatory) a RackMan::Device instancerackman
- (mandatory) a RackMan instanceverbose
- (optional) boolean, set to true to be verbose
CONFIGURATION
This module gets its configuration from the [format:bacula]
section of the main rack.conf, with the following parameters:
path
Path of the directory to store the generated files.
catalog
Specify the name of the catalog resource to be used. This parameter is required.
password
Specify the Bacula password. This parameter is required.
fdport
Port number of the Bacula server.
file_retention
Bacula parameter File Retention
.
job_retention
Bacula parameter Job Retention
.
max_jobs
Bacula parameter Maximum Concurrent Jobs
.
write_bootstrap
Bacula parameter Write Bootstrap
.
add_file
Add the given path to the FileSet.
scm
Specify the SCM tool to use for versionning generated files.
AUTHOR
Sebastien Aperghis-Tramoni