mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add storage class
parent
140c3c4355
commit
1b3cf70611
|
@ -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
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue