aboutsummaryrefslogtreecommitdiff
path: root/Types/StandardGroups.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-06-16 17:10:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-06-16 17:10:10 -0400
commit05ca2c4826371c1a9e484a887dec608be0e9c5f6 (patch)
tree7d8c73614ecf7391154f77fe6021442f966e7365 /Types/StandardGroups.hs
parent88167b18de65eab818324de2e59a8879cce02a81 (diff)
Fix incremental backup standard preferred content expression to match its documentation, which says it does not want files that have reached a backup repository.
Checked history and these have been out of sync from the very beginning!
Diffstat (limited to 'Types/StandardGroups.hs')
-rw-r--r--Types/StandardGroups.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/StandardGroups.hs b/Types/StandardGroups.hs
index 83e612917..11d2201e2 100644
--- a/Types/StandardGroups.hs
+++ b/Types/StandardGroups.hs
@@ -85,7 +85,7 @@ standardPreferredContent TransferGroup = lastResort $
"not (inallgroup=client and copies=client:2) and (" ++ standardPreferredContent ClientGroup ++ ")"
standardPreferredContent BackupGroup = "include=* or unused"
standardPreferredContent IncrementalBackupGroup = lastResort
- "(include=* or unused) and (not copies=incrementalbackup:1)"
+ "(include=* or unused) and (not copies=backup:1) and (not copies=incrementalbackup:1)"
standardPreferredContent SmallArchiveGroup = lastResort $
"(include=*/archive/* or include=archive/*) and (" ++ standardPreferredContent FullArchiveGroup ++ ")"
standardPreferredContent FullArchiveGroup = lastResort notArchived