From: Valentin Vidic Date: Thu, 17 Mar 2011 12:02:52 +0000 (+0100) Subject: Updated server config. X-Git-Tag: debian/20110317~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=2018f98e730c9f88bfd5649abc7ad14d70f029cd;p=bacula-cn.git Updated server config. --- diff --git a/debian/postinst b/debian/postinst index b1bdf46..4b466df 100644 --- a/debian/postinst +++ b/debian/postinst @@ -247,29 +247,39 @@ EOF # Requested by $CONTACT on $DATE Client { Name = $HOST-fd + @/etc/bacula/include/client-debian-default.conf Address = $IP Password = "$PASS_FD" # password for bacula-fd(8) - @/etc/bacula/include/client-debian-default.conf - - TLS Enable = yes - TLS Require = yes TLS CA Certificate File = "/etc/bacula/clients.d/$HOST-fd.pem" - TLS Certificate = "/etc/bacula/bacula.pem" - TLS Key = "/etc/bacula/bacula.key" -} - -Job { - Name = "$HOST" - Client = $HOST-fd - JobDefs = "Job_SysBackup" } Console { Name = $HOST-acl + @/etc/bacula/include/acl-default.conf Password = "$PASS_BCONSOLE" # password for bconsole(8) JobACL = $HOST, RestoreFiles ClientACL = $HOST-fd - @/etc/bacula/include/acl-default.conf +} + +Pool { + Name = $HOST-pool + @/etc/bacula/include/pool-default.conf + Label Format = ${HOST}_ +} + +Storage { + Name = $HOST-stor + @/etc/bacula/include/storage-default.conf + Device = file_$HOST + Media Type = media_$HOST +} + +Job { + Name = "$HOST" + Client = $HOST-fd + JobDefs = "Job_SysBackup" + Pool = $HOST-pool + Storage = $HOST-stor } EOF