From 05ca2c4826371c1a9e484a887dec608be0e9c5f6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 Jun 2015 17:10:10 -0400 Subject: 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! --- Types/StandardGroups.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Types') 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 -- cgit v1.2.3