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