From c0d812d704d4c587d0e7800223de8983fc5aa179 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 16 Jun 2012 11:19:58 +0200 Subject: [PATCH] Add per-client config --- modules/bacula/templates/per-client.conf.erb | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/bacula/templates/per-client.conf.erb diff --git a/modules/bacula/templates/per-client.conf.erb b/modules/bacula/templates/per-client.conf.erb new file mode 100644 index 000000000..215923ccd --- /dev/null +++ b/modules/bacula/templates/per-client.conf.erb @@ -0,0 +1,35 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.HIDDEN.de/srv/puppet.HIDDEN.de/git/ +## +# For Bacula release 5.0.1 (24 February 2010) -- debian 5.0.4 + +Job { + Name = "Backup <%= client %>" + JobDefs = "Standardbackup" + Client = <%= bacula_client_name %> +} + +Job { + Name = "Restore <%= client %>" + Type = Restore + Client= <%= bacula_client_name %> + FileSet = "Standard Set" + Storage = <%= bacula_filestor_name %> + Pool = <%= bacula_pool_name %> + Differential Backup Pool = <%= bacula_pool_name %>diff + Incremental Backup Pool = <%= bacula_pool_name %>inc + Messages = Standard + Where = /var/tmp/bacula-restores +} + +# Client (File Services) to backup +Client { + Name = <%= bacula_client_name %> + FDPort = <%= bacula_client_port %> + Catalog = MyCatalog + Password = "<%= bacula_client_secret %>" + File Retention = 30 days # 30 days + Job Retention = 6 months # six months + AutoPrune = yes # Prune expired Jobs/Files +} -- 2.20.1