1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-19 00:43:33 +00:00

s3: add support for setting storage class in config and command line

This commit is contained in:
Asko Tamm
2016-09-02 00:27:50 +03:00
committed by Nick Craig-Wood
parent 0caac70994
commit 61665ddd10
2 changed files with 58 additions and 1 deletions

View File

@@ -147,6 +147,17 @@ Choose a number from below, or type in your own value
2 / AES256
\ "AES256"
server_side_encryption>
The storage class to use when storing objects in S3.
Choose a number from below, or type in your own value
1 / Default
\ ""
2 / Standard storage class
\ "STANDARD"
3 / Reduced redundancy storage class
\ "REDUCED_REDUNDANCY"
4 / Standard Infrequent Access storage class
\ "STANDARD_IA"
storage_class>
Remote config
--------------------
[remote]
@@ -217,6 +228,21 @@ credentials. In order of precedence:
If none of these option actually end up providing `rclone` with AWS
credentials then S3 interaction will be non-authenticated (see below).
### Specific options ###
Here are the command line options specific to this cloud storage
system.
#### ----s3-storage-class ####
Storage class to upload new objects with.
Available options include:
- STANDARD - default storage class
- STANDARD_IA - for less frequently accessed data (e.g backups)
- REDUCED_REDUNDANCY (only for noncritical, reproducible data, has lower redundancy)
### Anonymous access to public buckets ###
If you want to use rclone to access a public bucket, configure with a