repository connect b2
$ kopia repository connect b2 \
--bucket=... \
--key-id=... \
--key=...
Connect to repository in a B2 bucket
Flag | Short | Default | Help |
---|---|---|---|
--bucket |
Name of the B2 bucket | ||
--cache-directory |
Cache directory | ||
--[no-]check-for-updates |
true |
Periodically check for Kopia updates on GitHub | |
--content-cache-size-limit-mb |
Maximum size of local content cache (hard limit) | ||
--content-cache-size-mb |
Desired size of local content cache (soft limit) | ||
--content-min-sweep-age |
Minimal age of content cache item to be subject to sweeping | ||
--description |
Human-readable description of the repository | ||
--[no-]enable-actions |
false |
Allow snapshot actions | |
--index-min-sweep-age |
Minimal age of index cache item to be subject to sweeping | ||
--key |
Secret key (overrides B2_KEY environment variable) | ||
--key-id |
Key ID (overrides B2_KEY_ID environment variable) | ||
--max-download-speed |
Limit the download speed. | ||
--max-list-cache-duration |
Duration of index cache | ||
--max-upload-speed |
Limit the upload speed. | ||
--metadata-cache-size-limit-mb |
Maximum size of local metadata cache (hard limit) | ||
--metadata-cache-size-mb |
Desired size of local metadata cache (soft limit) | ||
--metadata-min-sweep-age |
Minimal age of metadata cache item to be subject to sweeping | ||
--prefix |
Prefix to use for objects in the bucket | ||
--[no-]readonly |
false |
Make repository read-only to avoid accidental changes | |
--[no-]disable-repository-format-cache |
false |
[ADV] Disable caching of kopia.repository format blob | |
--override-hostname |
[ADV] Override hostname used by this repository connection | ||
--override-username |
[ADV] Override username used by this repository connection | ||
--[no-]permissive-cache-loading |
false |
[ADV] Do not fail when loading bad cache index entries. Repository must be opened in read-only mode | |
--repository-format-cache-duration |
[ADV] Duration of kopia.repository format blob cache |