"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
s3: add One Zone Infrequent Access storage class - fixes #2240
Craig Rachel0e6faa231379
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 17fee08c4..f26f63829 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -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 (// Flagss3ACL = 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))diff --git a/docs/content/s3.md b/docs/content/s3.mdindex aae8d584f..33ec590e6 100644--- a/docs/content/s3.md+++ b/docs/content/s3.md@@ -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> 1Remote 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 ####