]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/bacula/templates/per-client.conf.erb
b37658225067b70087fc6f8f5c553d1415785b8c
[dsa-puppet.git] / modules / bacula / templates / per-client.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5 #  For Bacula release 5.0.1 (24 February 2010) -- debian 5.0.4
6
7 Job {
8   Name = "<%= client %>"
9   JobDefs = "Standardbackup"
10   Client = <%= bacula_client_name %>
11
12   #Rerun Failed Levels = yes
13   Reschedule On Error = yes
14   Reschedule Interval = 4 hours
15   Reschedule Times = 2
16
17   Cancel Lower Level Duplicates = yes
18   Cancel Queued Duplicates = yes
19 }
20
21 # Client (File Services) to backup
22 Client {
23   Name = <%= bacula_client_name %>
24   Address = <%= client %>
25   FDPort = <%= bacula_client_port %>
26   Catalog = MyCatalog
27   Password = "<%= bacula_client_secret %>"
28   File Retention = 30 days            # 30 days
29   Job Retention = 6 months            # six months
30   AutoPrune = yes                     # Prune expired Jobs/Files
31
32   Heartbeat Interval = 180
33 }