ReadonlycompareHow to decide whether two files differ.
Optional ReadonlycompareTolerance for comparison (bytes for size, milliseconds for modtime).
Optional ReadonlyconcurrencyMaximum number of concurrent transfer actions. Must be a positive integer. Defaults to 4.
Optional ReadonlydownloadIdle timeout in milliseconds for B2-to-local download body reads. Must be positive, or
Infinity to disable the timeout. Defaults to 60 seconds.
Optional ReadonlydryWhen true, actions are generated but not executed.
Optional ReadonlyencryptionOptional provider for per-file encryption settings.
Optional ReadonlyexcludeOptional deny-list. Paths matching any exclude pattern are skipped even when they also match an include pattern. Excludes are client-side filters; they do not reduce B2 list API calls or the B2 scanner's version grouping and sort memory.
Optional ReadonlyincludeOptional allow-list. When present, only paths matching at least one pattern are scanned. B2 scans can push down only the safe literal prefix from slash-containing glob includes; other include filtering is client-side.
Optional ReadonlykeepNumber of days to retain orphaned destination files when keepMode is 'keep-days'.
ReadonlykeepWhat to do with destination files absent from the source.
Optional ReadonlymaxMaximum scanner entries retained before failing with a defined scan-limit error.
Optional Readonlysha1Optional idle/no-progress timeout in milliseconds for SHA-1 reads in sha1 mode.
Optional Readonlysha1Optional per-file byte ceiling for untrusted B2 SHA-1 verification reads.
By default, verifying untrusted B2 metadata may download the selected version's full
contentLength each run. Set this to a lower value to skip objects above the per-file
budget before they can be treated as equal.
Optional Readonlysha1Optional absolute deadline in milliseconds for untrusted B2 SHA-1 verification reads. Objects that cannot be fully verified before this deadline are skipped for that run.
Optional ReadonlysignalSignal to abort the sync operation, including scans and in-progress SHA-1 reads.
Configuration options for a sync operation.