fix preferred content definition for the backup group
Broken by commit 99a8a5297c
, which made empty
preferred content strings match nothing, rather than everything.
This commit is contained in:
parent
b28c0e28cf
commit
727223a229
2 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,6 @@ descStandardGroup FullArchiveGroup = "full archive: archives all files not archi
|
|||
preferredContent :: StandardGroup -> String
|
||||
preferredContent ClientGroup = "exclude=*/archive/* and exclude=archive/*"
|
||||
preferredContent TransferGroup = "not (inallgroup=client and copies=client:2) and " ++ preferredContent ClientGroup
|
||||
preferredContent BackupGroup = "" -- all content is preferred
|
||||
preferredContent BackupGroup = "include=*"
|
||||
preferredContent SmallArchiveGroup = "(include=*/archive/* or include=archive/*) and " ++ preferredContent FullArchiveGroup
|
||||
preferredContent FullArchiveGroup = "not (copies=archive:1 or copies=smallarchive:1)"
|
||||
|
|
|
@ -116,6 +116,8 @@ will be added later.
|
|||
|
||||
All content is preferred.
|
||||
|
||||
`include=*`
|
||||
|
||||
### small archive
|
||||
|
||||
Only prefers content that's located in an "archive" directory, and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue