68931e4f5a3da38065ba8ea2bab909a7d765a07e

Author
zertrin <zertrin@gmail.com>
Committer
zertrin <zertrin@gmail.com>
Date

Message

Move the new section about remove-all-inc-of-but-n-full a bit lower in the config file.

Diff

 1diff --git a/duplicity-backup.conf.example b/duplicity-backup.conf.example
 2index 682f84e118fc928ce7767a8e871146b545fc8fc8..bd6d106cd6a0eb48998398a7344fe8e42571468e 100644
 3--- a/duplicity-backup.conf.example
 4+++ b/duplicity-backup.conf.example
 5@@ -145,6 +145,11 @@ STATIC_OPTIONS="--full-if-older-than 14D --s3-use-new-style"
 6 #CLEAN_UP_TYPE="remove-older-than"
 7 #CLEAN_UP_VARIABLE="31D"
 8 #
 9+# Or, If you would rather keep a certain (n) number of full backups (rather
10+# than removing the files based on their age), you can use what I use:
11+CLEAN_UP_TYPE="remove-all-but-n-full"
12+CLEAN_UP_VARIABLE="4"
13+#
14 # In combination with "remove-older-than" clean-up type, you may want
15 # to keep only the full backups older than (n) number backup sets. For example, 
16 # let's say you set to CLEAN_UP_TYPE="remove-older-than", CLEAN_UP_VARIABLE
17@@ -160,11 +165,6 @@ STATIC_OPTIONS="--full-if-older-than 14D --s3-use-new-style"
18 # for the four most recent backup sets remain untouched.
19 #REMOVE_INCREMENTALS_OLDER_THAN="4"
20 
21-# Or, If you would rather keep a certain (n) number of full backups (rather
22-# than removing the files based on their age), you can use what I use:
23-CLEAN_UP_TYPE="remove-all-but-n-full"
24-CLEAN_UP_VARIABLE="2"
25-
26 # LOGFILE INFORMATION DIRECTORY
27 # Provide directory for logfile, ownership of logfile, and verbosity level.
28 # I run this script as root, but save the log files under my user name --