]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/bacula/templates/per-client.conf.erb
Exclude /srv/chroot and /home/buildd/build-trees from backups
[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 = "Backup <%= client %>"
9   JobDefs = "Standardbackup"
10   Client = <%= bacula_client_name %>
11 }
12
13 Job {
14   Name = "Restore <%= client %>"
15   Type = Restore
16   Client= <%= bacula_client_name %>
17   FileSet = "Standard Set"
18   Storage = <%= bacula_filestor_name %>
19   Pool = <%= bacula_pool_name %>
20   Differential Backup Pool = <%= bacula_pool_name %>diff
21   Incremental Backup Pool = <%= bacula_pool_name %>inc
22   Messages = Standard
23   Where = /var/tmp/bacula-restores
24 }
25
26 # Client (File Services) to backup
27 Client {
28   Name = <%= bacula_client_name %>
29   Address = <%= client %>
30   FDPort = <%= bacula_client_port %>
31   Catalog = MyCatalog
32   Password = "<%= bacula_client_secret %>"
33   File Retention = 30 days            # 30 days
34   Job Retention = 6 months            # six months
35   AutoPrune = yes                     # Prune expired Jobs/Files
36 }