projects
/
bacula-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Purge all pools.
[bacula-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
4b466df
..
5e06a5c
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-259,6
+259,8
@@
Console {
Password = "$PASS_BCONSOLE" # password for bconsole(8)
JobACL = $HOST, RestoreFiles
ClientACL = $HOST-fd
Password = "$PASS_BCONSOLE" # password for bconsole(8)
JobACL = $HOST, RestoreFiles
ClientACL = $HOST-fd
+ StorageACL = $HOST-stor
+ PoolACL = $HOST-pool, tmp
}
Pool {
}
Pool {
@@
-280,6
+282,11
@@
Job {
JobDefs = "Job_SysBackup"
Pool = $HOST-pool
Storage = $HOST-stor
JobDefs = "Job_SysBackup"
Pool = $HOST-pool
Storage = $HOST-stor
+ RunScript {
+ RunsWhen=After
+ RunsOnClient=No
+ Console = "purge volume action=all storage=$HOST-stor allpools"
+ }
}
EOF
}
EOF