New server config.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Tue, 6 Dec 2011 15:43:21 +0000 (16:43 +0100)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Tue, 6 Dec 2011 15:43:21 +0000 (16:43 +0100)
debian/postinst

index 5e06a5c..e606fb6 100644 (file)
@@ -259,34 +259,12 @@ Console {
   Password = "$PASS_BCONSOLE"         # password for bconsole(8)
   JobACL = $HOST, RestoreFiles
   ClientACL = $HOST-fd
-  StorageACL = $HOST-stor
-  PoolACL = $HOST-pool, tmp
-}
-
-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
-  RunScript {
-    RunsWhen=After
-    RunsOnClient=No
-    Console = "purge volume action=all storage=$HOST-stor allpools"
-   }
+  JobDefs = "Job_TapeBackup"
 }
 EOF