]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/bacula/templates/bacula-dir.conf.erb
use bacula service
[dsa-puppet.git] / modules / bacula / templates / bacula-dir.conf.erb
index 987170eb5848069a0e4bb135c07a4483dad69182..66ff569f9d4600bd98ef6cec4b0256b0c3b6d0da 100644 (file)
@@ -97,9 +97,9 @@ Schedule {
 ########################################################################
 Catalog {
   Name = MyCatalog
-  dbname = bacula;
-  DB Address = "<%= bacula_db_address %>";
-  DB Port = <%= bacula_db_port %>;
+  dbname = "service = bacula";
+  #DB Address = "<%= bacula_db_address %>";
+  #DB Port = <%= bacula_db_port %>;
   dbuser = "bacula";
   dbpassword = "<%= bacula_db_secret %>"
 }
@@ -159,7 +159,6 @@ JobDefs {
   Level = Incremental
   FileSet = "Standard Set"
   Schedule = "WeeklyCycle"
-  Storage = <%=bacula_filestor_name%>
   Messages = Standard
   Pool = <%=bacula_pool_name%>
   Differential Backup Pool = <%=bacula_pool_name%>diff
@@ -180,7 +179,7 @@ Job {
   Type = Restore
   Client = draghi.debian.org-fd
   FileSet = "Standard Set"
-  Pool = Restore
+  Pool = <%=bacula_pool_name%>
   Messages = Standard
   Where = /var/tmp/bacula-restores
 }
@@ -191,6 +190,7 @@ Job {
 Pool {
   Name = <%= bacula_pool_name %>
   Pool Type = Backup
+  Storage = <%=bacula_filestor_name%>
   Recycle = no
   AutoPrune = yes
   Volume Retention = 1 year
@@ -204,6 +204,7 @@ Pool {
 Pool {
   Name = <%= bacula_pool_name %>diff
   Pool Type = Backup
+  Storage = <%=bacula_filestor_name%>
   Recycle = no
   AutoPrune = yes
   Volume Retention = 1 year
@@ -217,6 +218,7 @@ Pool {
 Pool {
   Name = <%= bacula_pool_name %>inc
   Pool Type = Backup
+  Storage = <%=bacula_filestor_name%>
   Recycle = no
   AutoPrune = yes
   Volume Retention = 1 year