Move the new section about remove-all-inc-of-but-n-full a bit lower in the config file.
This commit is contained in:
parent
9b34c04802
commit
68931e4f5a
1 changed files with 5 additions and 5 deletions
|
|
@ -145,6 +145,11 @@ STATIC_OPTIONS="--full-if-older-than 14D --s3-use-new-style"
|
||||||
#CLEAN_UP_TYPE="remove-older-than"
|
#CLEAN_UP_TYPE="remove-older-than"
|
||||||
#CLEAN_UP_VARIABLE="31D"
|
#CLEAN_UP_VARIABLE="31D"
|
||||||
#
|
#
|
||||||
|
# Or, If you would rather keep a certain (n) number of full backups (rather
|
||||||
|
# than removing the files based on their age), you can use what I use:
|
||||||
|
CLEAN_UP_TYPE="remove-all-but-n-full"
|
||||||
|
CLEAN_UP_VARIABLE="4"
|
||||||
|
#
|
||||||
# In combination with "remove-older-than" clean-up type, you may want
|
# In combination with "remove-older-than" clean-up type, you may want
|
||||||
# to keep only the full backups older than (n) number backup sets. For example,
|
# to keep only the full backups older than (n) number backup sets. For example,
|
||||||
# let's say you set to CLEAN_UP_TYPE="remove-older-than", CLEAN_UP_VARIABLE
|
# let's say you set to CLEAN_UP_TYPE="remove-older-than", CLEAN_UP_VARIABLE
|
||||||
|
|
@ -160,11 +165,6 @@ STATIC_OPTIONS="--full-if-older-than 14D --s3-use-new-style"
|
||||||
# for the four most recent backup sets remain untouched.
|
# for the four most recent backup sets remain untouched.
|
||||||
#REMOVE_INCREMENTALS_OLDER_THAN="4"
|
#REMOVE_INCREMENTALS_OLDER_THAN="4"
|
||||||
|
|
||||||
# Or, If you would rather keep a certain (n) number of full backups (rather
|
|
||||||
# than removing the files based on their age), you can use what I use:
|
|
||||||
CLEAN_UP_TYPE="remove-all-but-n-full"
|
|
||||||
CLEAN_UP_VARIABLE="2"
|
|
||||||
|
|
||||||
# LOGFILE INFORMATION DIRECTORY
|
# LOGFILE INFORMATION DIRECTORY
|
||||||
# Provide directory for logfile, ownership of logfile, and verbosity level.
|
# Provide directory for logfile, ownership of logfile, and verbosity level.
|
||||||
# I run this script as root, but save the log files under my user name --
|
# I run this script as root, but save the log files under my user name --
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue