Updated server config.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Thu, 17 Mar 2011 12:02:52 +0000 (13:02 +0100)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Thu, 17 Mar 2011 12:02:52 +0000 (13:02 +0100)
debian/postinst

index b1bdf46..4b466df 100644 (file)
@@ -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