repository create s3

$ kopia repository create s3 \
        --bucket=... \
        --access-key=... \
        --secret-access-key=...

Create repository in an S3 bucket

Flag Short Default Help
--access-key Access key ID (overrides AWS_ACCESS_KEY_ID environment variable)
--block-hash BLAKE2B-256-128 Content hash algorithm.
--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
--[no-]create-only -c false Create repository, but don’t connect to it.
--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
--ecc REED-SOLOMON-CRC32 [EXPERIMENTAL] Error correction algorithm.
--ecc-overhead-percent 0 [EXPERIMENTAL] How much space overhead can be used for error correction, in percentage. Use 0 to disable ECC.
--[no-]enable-actions false Allow snapshot actions
--encryption AES256-GCM-HMAC-SHA256 Content encryption algorithm.
--endpoint s3.amazonaws.com Endpoint to use
--format-block-key-derivation-algorithm scrypt-65536-8-1 Algorithm to derive the encryption key for the format block from the repository password
--format-version Force a particular repository format version (1, 2 or 3, 0==default)
--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
--object-splitter DYNAMIC-4M-BUZHASH The splitter to use for new objects in the repository
--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
--retention-mode Set the blob retention-mode for supported storage backends.
--retention-period Set the blob retention-period for supported storage backends.
--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