diff options
Diffstat (limited to 'beam.conf')
-rw-r--r-- | beam.conf | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -15,14 +15,22 @@ echo >&2 "$0: WARNING: using default configuration boilerplate" # # Special variables, called hooks, allow you to supply arbitrary # procedures to be run before and after backup. -# When set, both variables must contain a whitespace-separated list of -# commands to be invoked. These commands will be invoked without arguments -# and run in order of their appearance in the list. +# When set, a hook must contain a whitespace-separated list of commands to +# be invoked. These commands will be invoked without arguments and in +# order of their appearance in the list. # Commands listed in openlog_hook are run before opening the logfile. The # most common use for this hook is to rotate an oversized logfile prior to # opening it. +# +# Beam's default hook is beam_logrotate, which uses logrotate(8) to manage +# the log file. openlog_hook=beam_logrotate +# Additional configuration for logrotate can be supplied in the +# backup_logrotate_conf variable. +backup_logrotate_conf="weekly +rotate 4 +" # The prologue_hook is a list of commands to run before starting backup # (or restore). prologue_hook= |