mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Document rclone storage backend
parent
33814e2a4d
commit
90c2f3ac27
|
@ -50,9 +50,14 @@ Compared to direct S3 storage, this is both faster and cheaper!
|
||||||
1. Use `volume.tier.download` in `weed shell` to move volumes to the local cluster.
|
1. Use `volume.tier.download` in `weed shell` to move volumes to the local cluster.
|
||||||
|
|
||||||
## Configuring Storage Backend
|
## Configuring Storage Backend
|
||||||
(Currently only s3 is developed. More is coming soon.)
|
|
||||||
|
|
||||||
Multiple s3 buckets are supported. Usually you just need to configure one backend.
|
The following storage backends are currently supported:
|
||||||
|
- S3
|
||||||
|
- Rclone
|
||||||
|
|
||||||
|
### S3
|
||||||
|
|
||||||
|
Multiple S3 buckets are supported. Usually you just need to configure one backend.
|
||||||
|
|
||||||
```
|
```
|
||||||
# The storage backends are configured on the master, inside master.toml
|
# The storage backends are configured on the master, inside master.toml
|
||||||
|
@ -75,6 +80,26 @@ Multiple s3 buckets are supported. Usually you just need to configure one backen
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Rclone
|
||||||
|
|
||||||
|
Here's an example of a configuration for an Rclone storage backend:
|
||||||
|
|
||||||
|
```
|
||||||
|
[storage.backend]
|
||||||
|
[storage.backend.rclone.default]
|
||||||
|
enabled = true
|
||||||
|
remote_name = "my-onedrive"
|
||||||
|
```
|
||||||
|
|
||||||
|
Where `my-remote` must correspond to what's configured in `~/.config/rclone/rclone.conf`:
|
||||||
|
```
|
||||||
|
[my-onedrive]
|
||||||
|
type = onedrive
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
After changing the master config, you need to **restart the volume servers** so that they pull the updated configuration
|
After changing the master config, you need to **restart the volume servers** so that they pull the updated configuration
|
||||||
from the master. If you forget to do this, you'll get an error message about no storage backends being configured.
|
from the master. If you forget to do this, you'll get an error message about no storage backends being configured.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue