repository sync-to b2
$ kopia repository sync-to b2 \
--bucket=... \
--key-id=... \
--key=...
Synchronize repository data to another repository in a B2 bucket
Flag | Short | Default | Help |
---|---|---|---|
--bucket |
Name of the B2 bucket | ||
--[no-]delete |
false |
Whether to delete blobs present in destination but not source. | |
--[no-]dry-run |
-n |
false |
Do not perform copying. |
--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-upload-speed |
Limit the upload speed. | ||
--[no-]must-exist |
false |
Fail if destination does not have repository format blob. | |
--parallel |
1 |
Copy parallelism. | |
--prefix |
Prefix to use for objects in the bucket | ||
--[no-]times |
false |
Synchronize blob times if supported. | |
--[no-]update |
true |
Whether to update blobs present in destination and source if the source is newer. |