[1mNAME[0m
rsbackup.cron - cron script for rsbackup
[1mSYNOPSIS[0m
[1mrsbackup.cron [22m[[4mOPTIONS[24m] [4mFREQUENCY[0m
[1mDESCRIPTION[0m
[1mrsbackup.cron [22mis invoked from cron to run automated backups, pruning
and reporting.
[4mFREQUENCY[24m must be one of [1mhourly[22m, [1mdaily[22m, [1mweekly [22mor [1mmonthly[22m, correspond-
ing to the frequency it is invoked at.
[1mOPTIONS[0m
[1m--dry-run[22m, [1m-n[0m
Passes the [1m--dry-run [22moption to [1mrsbackup[22m.
[1m--verbose[22m, [1m-v[0m
Displays the [1mrsbackup [22mcommand before executing it.
[1m--help[22m, [1m-h[0m
Displays a usage message and terminates.
[1m--version[22m, [1m-V[0m
Display version string.
[1mCONFIGURATION[0m
Configuration is read from [4m/etc/rsbackup/defaults[24m. This is a shell
script fragment and it should define the following variables:
[1mbackup [22mDefines the frequency to [4mattempt[24m backups, i.e. to run [1mrsbackup[0m
[1m--backup[22m. The default is [1mhourly[22m.
Use backup policies for full control over the actual backup fre-
quency.
[1mreport [22mDefines the frequency to send an email report. The default is
[1mdaily[22m.
[1memail [22mDefines the destination address for the email report.
[1mprune [22mDefines the frequency of pruning old backups. The default is
[1mdaily[22m.
[1mprune_incomplete[0m
Defines the frequency of pruning incomplete backups. The de-
fault is [1mdweekly[22m.
[1mFrequencies[0m
The possible frequences are [1mhourly[22m, [1mdaily, weekly [22mor [1mmonthly[22m.
[1mExample[0m
#
# Set backup=hourly|daily|weekly|monthly to control frequency of
# backup attempts. (Use backup policies for fine-grained control over
# when backups happen.)
#
backup=hourly
#
# Set report=hourly|daily|weekly|monthly to control frequency of
# email reports. (Hourly is probably a bit much!) Only effective
# if email is not "".
#
report=daily
#
# Set email=ADDRESS to have the report emailed to that address.
#
email=root
#
# Set prune=hourly|daily|weekly|monthly|never to control frequency of
# automated pruning of old backups
#
prune=daily
#
# Set prune_incomplete=hourly|daily|weekly|monthly|never to control
# frequency of automated pruning of incomplete backups
#
prune_incomplete=weekly
#
# Prefix to the rsbackup command
# Use 'nice' and/or 'ionice' here. Remember to quote correctly.
#
nicely=
[1mSEE ALSO[0m
[1mrsbackup[22m(1), [1mrsbackup-mount[22m(1), [1mrsbackup[22m(5).
[1mAUTHOR[0m
Richard Kettlewell <rjk@greenend.org.uk>