From 63e55bab0141bf2cdaeb2f1d90d2915b03b48332 Mon Sep 17 00:00:00 2001 From: Richard Kettlewell Date: Sat, 7 Sep 2019 13:53:07 +0100 Subject: Remove backup frequency from cron configuration It is supplanted by backup policies. re #59 UNTESTED --- doc/CHANGES.html | 7 +++++++ doc/rsbackup-debian.html | 30 +++++++++--------------------- doc/rsbackup.cron.1 | 15 ++++++++------- tools/rsbackup.cron.in | 40 ++++++++++++++++++---------------------- tools/rsbackup.defaults | 13 +++++-------- 5 files changed, 47 insertions(+), 58 deletions(-) diff --git a/doc/CHANGES.html b/doc/CHANGES.html index da04d10..587b13f 100644 --- a/doc/CHANGES.html +++ b/doc/CHANGES.html @@ -22,6 +22,13 @@
  • The --force option is extended to override backup policies.
  • +
  • In /etc/rsbackup/defaults, the + hourly, daily, weekly and + monthly settings are gone. Instead, use backup + policies. Fixes issue + #59.
  • +

    Changes In rsbackup 6.0

    diff --git a/doc/rsbackup-debian.html b/doc/rsbackup-debian.html index 47e96b8..419119b 100644 --- a/doc/rsbackup-debian.html +++ b/doc/rsbackup-debian.html @@ -53,14 +53,11 @@ include /etc/rsbackup/hosts.d follows:

    #
    -# List hosts to backup hourly, daily, weekly and monthly
    -#  - set the empty string to back up no hosts (at that frequency)
    -#  - use the special string "_all" to back up everything
    +# Set backup=hourly|daily|weekly|monthly to control frequency of
    +# backup attempts. (Use backup policies for fine-grained control over
    +# when backups happen.)
     #
    -hourly=""
    -daily=_all
    -weekly=""
    -monthly=""
    +backup=hourly
     
     #
     # Set report=hourly|daily|weekly|monthly to control frequency of
    @@ -95,20 +92,11 @@ nicely=