repository connect s3
$ kopia repository connect s3 \
--bucket=... \
--access-key=... \
--secret-access-key=...
Connect to 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 | ||
--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-]disable-tls |
false |
Disable TLS security (HTTPS) | |
--[no-]disable-tls-verification |
false |
Disable TLS (HTTPS) certificate verification | |
--[no-]enable-actions |
false |
Allow snapshot actions | |
--endpoint |
s3.amazonaws.com |
Endpoint to use | |
--index-min-sweep-age |
Minimal age of index cache item to be subject to sweeping | ||
--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 | ||
--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 | ||
--[no-]readonly |
false |
Make repository read-only to avoid accidental changes | |
--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-]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 |