From 1b3cf70611e0de681ac8429624054ff37e1887cf Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 1 May 2022 23:34:12 -0700 Subject: [PATCH] add storage class --- Cloud-Tier.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cloud-Tier.md b/Cloud-Tier.md index 5b4bfea..590cab1 100644 --- a/Cloud-Tier.md +++ b/Cloud-Tier.md @@ -63,6 +63,7 @@ Multiple s3 buckets are supported. Usually you just need to configure one backen aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials). region = "us-west-1" bucket = "one_bucket" # an existing bucket + storage_class = "STANDARD_IA" [storage.backend.s3.name2] enabled = true @@ -70,6 +71,7 @@ Multiple s3 buckets are supported. Usually you just need to configure one backen aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials). region = "us-west-2" bucket = "one_bucket_two" # an existing bucket + storage_class = "STANDARD_IA" ``` @@ -104,4 +106,4 @@ scripts = """ Or you can run the `weed shell` periodically in some cron job: ``` echo "lock;volume.tier.upload -dest s3 -fullPercent=95 -quietFor=1h;unlock" | weed shell -``` \ No newline at end of file +```