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 /doc | |
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 'doc')
-rw-r--r-- | doc/preferred_content.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/preferred_content.mdwn b/doc/preferred_content.mdwn index 92250c034..6d1acfb0f 100644 --- a/doc/preferred_content.mdwn +++ b/doc/preferred_content.mdwn @@ -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, 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 @@ -140,14 +140,14 @@ will be added later. All content is preferred. -`include=*` +`include=* or unused` ### incremental backup Only prefers content that's not already backed up to another backup 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 |