backup bacula from postgresql-manda-01
authorPeter Palfrader <peter@palfrader.org>
Tue, 24 Sep 2019 09:05:15 +0000 (11:05 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 24 Sep 2019 09:05:15 +0000 (11:05 +0200)
modules/postgres/manifests/backup_source.pp

index 146726a..d2443a1 100644 (file)
@@ -45,8 +45,17 @@ class postgres::backup_source {
                }
        }
 
-       if $::hostname in [melartin, vittoria, godard, buxtehude, danzi] {
+       if $::hostname in [postgresql-manda-01] {
+               postgres::backup_cluster { "${::hostname}-bacula":
+                       pg_version => '11',
+                       pg_port => 5432,
+                       pg_cluster => 'bacula',
+               }
+       }
+
+       if $::hostname in [melartin, vittoria, godard, buxtehude, danzi, postgresql-manda-01] {
                postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
                }
        }
+
 }