explicitly include unused files in backup and incremental backup

include=* does not match unused files, which have no associated file.
This commit is contained in:
Joey Hess 2014-01-23 16:36:15 -04:00
parent e0bd088f08
commit 90bc6e3137
2 changed files with 5 additions and 5 deletions

View file

@ -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