heardbeats
[mirror/dsa-puppet.git] / modules / bacula / templates / per-client.conf.erb
index 215923c..a55542e 100644 (file)
@@ -1,35 +1,33 @@
 ##
 ## 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/
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 #  For Bacula release 5.0.1 (24 February 2010) -- debian 5.0.4
 
 Job {
-  Name = "Backup <%= client %>"
+  Name = "<%= 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
+  Rerun Failed Levels = yes
+  Reschedule On Error = yes
+  Reschedule Interval = 4 hours
+  Reschedule Times = 2
+
+  Cancel Lower Level Duplicates = yes
+  Cancel Queued Duplicates = yes
 }
 
 # Client (File Services) to backup
 Client {
   Name = <%= bacula_client_name %>
+  Address = <%= client %>
   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
+
+  Heartbeat Interval = 180
 }