X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=e606fb6321e501bd075a2eceee6d2ed75aa860cb;hb=e27dd7ec1ea74014ba834afe90f26b40ae981947;hp=5e06a5cd44724f5b12ddc33a7a4bee99b6fe4f9e;hpb=8b6471f09ecf1312e12aab4b8f12da811f434964;p=bacula-cn.git diff --git a/debian/postinst b/debian/postinst index 5e06a5c..e606fb6 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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