X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbacula-dir.conf.erb;h=66ff569f9d4600bd98ef6cec4b0256b0c3b6d0da;hb=176461aa7cca59f5a33c1a58953886f52f11630b;hp=987170eb5848069a0e4bb135c07a4483dad69182;hpb=d0fa36fc169681b0e1c413d20179f5176467703d;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index 987170eb5..66ff569f9 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -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