aboutsummaryrefslogtreecommitdiff
path: root/doc/beam.conf.5in
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-06-26 11:53:20 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-06-26 11:53:20 +0300
commit3932856031189f0c242483068cdd8eaf44429fc8 (patch)
tree7a558e9a394e13bf0fb68faf03bfd71ebeaa71c6 /doc/beam.conf.5in
parent9e95716abf0a45e0ee11b1a313f684df71d7188a (diff)
downloadbeam-3932856031189f0c242483068cdd8eaf44429fc8.tar.gz
beam-3932856031189f0c242483068cdd8eaf44429fc8.tar.bz2
Provide a new hook, to be run prior to opening the log file.
* backup.in (backup): Run openlog_hook. * beam.conf (openlog_hook): Document the hook. * doc/beam.conf.5in: Likewise. * lib/beam/common.in (load_config): Insert s3_mount at the beginning of the prologue_hook.
Diffstat (limited to 'doc/beam.conf.5in')
-rw-r--r--doc/beam.conf.5in4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/beam.conf.5in b/doc/beam.conf.5in
index e76dd14..840b75a 100644
--- a/doc/beam.conf.5in
+++ b/doc/beam.conf.5in
@@ -352,6 +352,10 @@ Defines the mailer program. The default is
Two special variables, called hooks, allow you to supply arbitrary
commands to be run before and after backup.
.TP
+.B openlog_hook
+Commands listed in this variable are run before opening the logfile. The
+most common use for this hook is to rotate an oversized logfile prior to
+opening it.
.B prologue_hook
This variable contains a whitespace-separated list of commands to
be invoked before starting backup (or restore). These commands are

Return to:

Send suggestions and report system problems to the System administrator.