s3: add support for "Glacier Deep Archive" storage class - fixes #3088

This commit is contained in:
Manu 2019-04-05 11:14:05 +08:00 committed by Nick Craig-Wood
parent 0862dc9b2b
commit 6e86526c9d
2 changed files with 6 additions and 1 deletions

View File

@ -645,6 +645,9 @@ isn't set then "acl" is used instead.`,
}, {
Value: "GLACIER",
Help: "Glacier storage class",
}, {
Value: "DEEP_ARCHIVE",
Help: "Glacier Deep Archive storage class",
}},
}, {
// Mapping from here: https://www.alibabacloud.com/help/doc-detail/64919.htm

View File

@ -220,6 +220,8 @@ Choose a number from below, or type in your own value
\ "ONEZONE_IA"
6 / Glacier storage class
\ "GLACIER"
7 / Glacier Deep Archive storage class
\ "DEEP_ARCHIVE"
storage_class> 1
Remote config
--------------------
@ -387,7 +389,7 @@ you can't transfer small objects. As a work-around you can use the
A proper fix is being worked on in [issue #1824](https://github.com/ncw/rclone/issues/1824).
### Glacier ###
### Glacier and Glacier Deep Archive ###
You can upload objects using the glacier storage class or transition them to glacier using a [lifecycle policy](http://docs.aws.amazon.com/AmazonS3/latest/user-guide/create-lifecycle.html).
The bucket can still be synced or copied into normally, but if rclone