diff options
author | Joey Hess <joey@kitenet.net> | 2014-01-23 16:36:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-01-23 16:36:15 -0400 |
commit | 425c6ddfcd84b6bf26f3a277d010df1fb6b018da (patch) | |
tree | c0fc067bc3b221d474698be60bd669905decc728 /Types | |
parent | c860d9e9716510d257a6f348e1740ff1a4fa3a56 (diff) |
explicitly include unused files in backup and incremental backup
include=* does not match unused files, which have no associated file.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/StandardGroups.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Types/StandardGroups.hs b/Types/StandardGroups.hs index 434156a0e..d95f28ee1 100644 --- a/Types/StandardGroups.hs +++ b/Types/StandardGroups.hs @@ -78,9 +78,9 @@ preferredContent ClientGroup = lastResort $ "((exclude=*/archive/* and exclude=archive/*) or (" ++ notArchived ++ ")) and not unused" preferredContent TransferGroup = lastResort $ "not (inallgroup=client and copies=client:2) and (" ++ preferredContent ClientGroup ++ ")" -preferredContent BackupGroup = "include=*" +preferredContent BackupGroup = "include=* or unused" preferredContent IncrementalBackupGroup = lastResort - "include=* and (not copies=incrementalbackup:1)" + "(include=* or unused) and (not copies=incrementalbackup:1)" preferredContent SmallArchiveGroup = lastResort $ "(include=*/archive/* or include=archive/*) and (" ++ preferredContent FullArchiveGroup ++ ")" preferredContent FullArchiveGroup = lastResort notArchived |