Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

s3: Add GLACIER_IR storage class

Yunhai Luo408d9f3e7aa8
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index 29975236c..df5b6b674 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -1184,6 +1184,9 @@ If you leave it blank, this is calculated automatically from the sse_customer_ke
}, {
Value: "INTELLIGENT_TIERING",
Help: "Intelligent-Tiering storage class",
+ }, {
+ Value: "GLACIER_IR",
+ Help: "Glacier Instant Retrieval storage class",
}},
}, {
// Mapping from here: https://www.alibabacloud.com/help/doc-detail/64919.htm
diff --git a/docs/content/s3.md b/docs/content/s3.md
index 184fea45f..4295a8141 100644
--- a/docs/content/s3.md
+++ b/docs/content/s3.md
@@ -230,6 +230,8 @@ Choose a number from below, or type in your own value
\ "DEEP_ARCHIVE"
8 / Intelligent-Tiering storage class
\ "INTELLIGENT_TIERING"
+ 9 / Glacier Instant Retrieval storage class
+ \ "GLACIER_IR"
storage_class> 1
Remote config
--------------------
@@ -1327,6 +1329,8 @@ The storage class to use when storing new objects in S3.
- Glacier Deep Archive storage class
- "INTELLIGENT_TIERING"
- Intelligent-Tiering storage class
+ - "GLACIER_IR"
+ - Glacier Instant Retrieval storage class
#### --s3-storage-class