repository sync-to s3
$ kopia repository sync-to s3 \
--bucket=... \
--access-key=... \
--secret-access-key=...
Synchronize repository data to another repository in an S3 bucket
Flag | Short | Default | Help |
---|---|---|---|
--access-key |
Access key ID (overrides AWS_ACCESS_KEY_ID environment variable) | ||
--bucket |
Name of the S3 bucket | ||
--[no-]delete |
false |
Whether to delete blobs present in destination but not source. | |
--[no-]disable-tls |
false |
Disable TLS security (HTTPS) | |
--[no-]disable-tls-verification |
false |
Disable TLS (HTTPS) certificate verification | |
--[no-]dry-run |
-n |
false |
Do not perform copying. |
--endpoint |
s3.amazonaws.com |
Endpoint to use | |
--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. | |
--point-in-time |
Use a point-in-time view of the storage repository when supported | ||
--prefix |
Prefix to use for objects in the bucket. Put trailing slash (/) if you want to use prefix as directory. e.g my-backup-dir/ would put repository contents inside my-backup-dir directory | ||
--region |
S3 Region | ||
--root-ca-pem-base64 |
Certificate authority in-line (base64 enc.) | ||
--root-ca-pem-path |
Certificate authority file path | ||
--secret-access-key |
Secret access key (overrides AWS_SECRET_ACCESS_KEY environment variable) | ||
--session-token |
Session token (overrides AWS_SESSION_TOKEN environment variable) | ||
--[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. |