2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/backend/s3
Benoît Knecht 3c112d9cae s3: Add config option to set storage class
The `s3.storage-class` option can be passed to restic (using `-o`) to
specify the storage class to be used for S3 objects created by restic.

The storage class is passed as-is to S3, so it needs to be understood by
the API. On AWS, it can be one of `STANDARD`, `STANDARD_IA`,
`ONEZONE_IA`, `INTELLIGENT_TIERING` and `REDUCED_REDUNDANCY`. If
unspecified, the default storage class is used (`STANDARD` on AWS).

You can mix storage classes in the same bucket, and the setting isn't
stored in the restic repository, so be sure to specify it with each
command that writes to S3.

Closes #706
2019-03-26 16:37:07 +01:00
..
config_test.go s3: Remove default prefix "/restic" 2017-11-21 21:33:09 +01:00
config.go s3: Add config option to set storage class 2019-03-26 16:37:07 +01:00
s3_test.go Read TLS client cert and key from the same file 2018-01-27 14:02:01 +01:00
s3.go s3: Add config option to set storage class 2019-03-26 16:37:07 +01:00