mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 14:51:48 +08:00
s3: add One Zone Infrequent Access storage class - fixes #2240
This commit is contained in:
parent
905e40b3e6
commit
0e6faa2313
|
@ -217,6 +217,9 @@ func init() {
|
|||
}, {
|
||||
Value: "STANDARD_IA",
|
||||
Help: "Standard Infrequent Access storage class",
|
||||
}, {
|
||||
Value: "ONEZONE_IA",
|
||||
Help: "One Zone Infrequent Access storage class",
|
||||
}},
|
||||
}},
|
||||
})
|
||||
|
@ -237,7 +240,7 @@ const (
|
|||
var (
|
||||
// Flags
|
||||
s3ACL = flags.StringP("s3-acl", "", "", "Canned ACL used when creating buckets and/or storing objects in S3")
|
||||
s3StorageClass = flags.StringP("s3-storage-class", "", "", "Storage class to use when uploading S3 objects (STANDARD|REDUCED_REDUNDANCY|STANDARD_IA)")
|
||||
s3StorageClass = flags.StringP("s3-storage-class", "", "", "Storage class to use when uploading S3 objects (STANDARD|REDUCED_REDUNDANCY|STANDARD_IA|ONEZONE_IA)")
|
||||
s3ChunkSize = fs.SizeSuffix(s3manager.MinUploadPartSize)
|
||||
)
|
||||
|
||||
|
|
|
@ -168,6 +168,8 @@ Choose a number from below, or type in your own value
|
|||
\ "REDUCED_REDUNDANCY"
|
||||
4 / Standard Infrequent Access storage class
|
||||
\ "STANDARD_IA"
|
||||
5 / One Zone Infrequent Access storage class
|
||||
\ "ONEZONE_IA"
|
||||
storage_class> 1
|
||||
Remote config
|
||||
--------------------
|
||||
|
@ -350,6 +352,7 @@ Available options include:
|
|||
|
||||
- STANDARD - default storage class
|
||||
- STANDARD_IA - for less frequently accessed data (e.g backups)
|
||||
- ONEZONE_IA - for storing data in only one Availability Zone
|
||||
- REDUCED_REDUNDANCY (only for noncritical, reproducible data, has lower redundancy)
|
||||
|
||||
#### --s3-chunk-size=SIZE ####
|
||||
|
|
Loading…
Reference in New Issue
Block a user