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:
parent
e0bd088f08
commit
90bc6e3137
2 changed files with 5 additions and 5 deletions
|
@ -78,9 +78,9 @@ preferredContent ClientGroup = lastResort $
|
||||||
"((exclude=*/archive/* and exclude=archive/*) or (" ++ notArchived ++ ")) and not unused"
|
"((exclude=*/archive/* and exclude=archive/*) or (" ++ notArchived ++ ")) and not unused"
|
||||||
preferredContent TransferGroup = lastResort $
|
preferredContent TransferGroup = lastResort $
|
||||||
"not (inallgroup=client and copies=client:2) and (" ++ preferredContent ClientGroup ++ ")"
|
"not (inallgroup=client and copies=client:2) and (" ++ preferredContent ClientGroup ++ ")"
|
||||||
preferredContent BackupGroup = "include=*"
|
preferredContent BackupGroup = "include=* or unused"
|
||||||
preferredContent IncrementalBackupGroup = lastResort
|
preferredContent IncrementalBackupGroup = lastResort
|
||||||
"include=* and (not copies=incrementalbackup:1)"
|
"(include=* or unused) and (not copies=incrementalbackup:1)"
|
||||||
preferredContent SmallArchiveGroup = lastResort $
|
preferredContent SmallArchiveGroup = lastResort $
|
||||||
"(include=*/archive/* or include=archive/*) and (" ++ preferredContent FullArchiveGroup ++ ")"
|
"(include=*/archive/* or include=archive/*) and (" ++ preferredContent FullArchiveGroup ++ ")"
|
||||||
preferredContent FullArchiveGroup = lastResort notArchived
|
preferredContent FullArchiveGroup = lastResort notArchived
|
||||||
|
|
|
@ -113,7 +113,7 @@ any repository that can will back it up.)
|
||||||
All content is preferred, unless it's for a file in a "archive" directory,
|
All content is preferred, unless it's for a file in a "archive" directory,
|
||||||
which has reached an archive repository, or is unused.
|
which has reached an archive repository, or is unused.
|
||||||
|
|
||||||
`(((exclude=*/archive/* and exclude=archive/*) or (not (copies=archive:1 or copies=smallarchive:1))) or roughlylackingcopies=1) and not unused`
|
`(((exclude=*/archive/* and exclude=archive/*) or (not (copies=archive:1 or copies=smallarchive:1))) and not unused) or roughlylackingcopies=1`
|
||||||
|
|
||||||
### transfer
|
### transfer
|
||||||
|
|
||||||
|
@ -140,14 +140,14 @@ will be added later.
|
||||||
|
|
||||||
All content is preferred.
|
All content is preferred.
|
||||||
|
|
||||||
`include=*`
|
`include=* or unused`
|
||||||
|
|
||||||
### incremental backup
|
### incremental backup
|
||||||
|
|
||||||
Only prefers content that's not already backed up to another backup
|
Only prefers content that's not already backed up to another backup
|
||||||
or incremental backup repository.
|
or incremental backup repository.
|
||||||
|
|
||||||
`(include=* and (not copies=backup:1) and (not copies=incrementalbackup:1)) or approxlackingcopies=1`
|
`((include=* or unused) and (not copies=backup:1) and (not copies=incrementalbackup:1)) or approxlackingcopies=1`
|
||||||
|
|
||||||
### small archive
|
### small archive
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue