mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
s3: Add SeaweedFS
This commit is contained in:
@@ -17,6 +17,7 @@ The S3 backend can be used with a number of different providers:
|
||||
{{< provider name="IBM COS S3" home="http://www.ibm.com/cloud/object-storage" config="/s3/#ibm-cos-s3" >}}
|
||||
{{< provider name="Minio" home="https://www.minio.io/" config="/s3/#minio" >}}
|
||||
{{< provider name="Scaleway" home="https://www.scaleway.com/en/object-storage/" config="/s3/#scaleway" >}}
|
||||
{{< provider name="SeaweedFS" home="https://github.com/chrislusf/seaweedfs/" config="/s3/#seaweedfs" >}}
|
||||
{{< provider name="StackPath" home="https://www.stackpath.com/products/object-storage/" config="/s3/#stackpath" >}}
|
||||
{{< provider name="Tencent Cloud Object Storage (COS)" home="https://intl.cloud.tencent.com/product/cos" config="/s3/#tencent-cos" >}}
|
||||
{{< provider name="Wasabi" home="https://wasabi.com/" config="/s3/#wasabi" end="true" >}}
|
||||
@@ -549,7 +550,7 @@ Vault API, so rclone cannot directly access Glacier Vaults.
|
||||
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/s3/s3.go then run make backenddocs" >}}
|
||||
### Standard Options
|
||||
|
||||
Here are the standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, and Tencent COS).
|
||||
Here are the standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).
|
||||
|
||||
#### --s3-provider
|
||||
|
||||
@@ -578,6 +579,8 @@ Choose your S3 provider.
|
||||
- Netease Object Storage (NOS)
|
||||
- "Scaleway"
|
||||
- Scaleway Object Storage
|
||||
- "SeaweedFS"
|
||||
- SeaweedFS S3
|
||||
- "StackPath"
|
||||
- StackPath Object Storage
|
||||
- "TencentCOS"
|
||||
@@ -2268,6 +2271,56 @@ server_side_encryption =
|
||||
storage_class =
|
||||
```
|
||||
|
||||
### SeaweedFS ###
|
||||
|
||||
[SeaweedFS](https://github.com/chrislusf/seaweedfs/) is a distributed storage system for
|
||||
blobs, objects, files, and data lake, with O(1) disk seek and a scalable file metadata store.
|
||||
It has an S3 compatible object storage interface.
|
||||
|
||||
Assuming the SeaweedFS are configured with `weed shell` as such:
|
||||
```
|
||||
> s3.bucket.create -name foo
|
||||
> s3.configure -access_key=any -secret_key=any -buckets=foo -user=me -actions=Read,Write,List,Tagging,Admin -apply
|
||||
{
|
||||
"identities": [
|
||||
{
|
||||
"name": "me",
|
||||
"credentials": [
|
||||
{
|
||||
"accessKey": "any",
|
||||
"secretKey": "any"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
"Read:foo",
|
||||
"Write:foo",
|
||||
"List:foo",
|
||||
"Tagging:foo",
|
||||
"Admin:foo"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
To use rclone with SeaweedFS, above configuration should end up with something like this in
|
||||
your config:
|
||||
|
||||
```
|
||||
[seaweedfs_s3]
|
||||
type = s3
|
||||
provider = SeaweedFS
|
||||
access_key_id = any
|
||||
secret_access_key = any
|
||||
endpoint = localhost:8333
|
||||
```
|
||||
|
||||
So once set up, for example to copy files into a bucket
|
||||
|
||||
```
|
||||
rclone copy /path/to/files seaweedfs_s3:foo
|
||||
```
|
||||
|
||||
### Wasabi ###
|
||||
|
||||
[Wasabi](https://wasabi.com) is a cloud-based object storage service for a
|
||||
|
||||
Reference in New Issue
Block a user