mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-06-13 23:36:45 +03:00
Created Gateway to Remote Object Storage (markdown)
@@ -0,0 +1,27 @@
|
||||
# Context
|
||||
|
||||
The [[Mount Remote Storage]] feature can mount one remote storage folder to one local folder.
|
||||
```
|
||||
> remote.mount -dir=/xxx -remote=cloud1/bucket
|
||||
```
|
||||
|
||||
However, usually you may have multiple buckets in one cloud storage. How to synchronize them automatically?
|
||||
|
||||
# Design
|
||||
|
||||
The `weed filer.remote.sync` added a few of features:
|
||||
* Upload all changes under `/buckets` to remote storage.
|
||||
* If any buckets are created or deleted, the remote storage will also create or delete the corresponding buckets.
|
||||
* The new buckets will be automatically mounted.
|
||||
|
||||
To do so, the `weed filer.remote.sync` process needs to know the default remote storage to create the new bucket.
|
||||
|
||||
# Usage
|
||||
## Mount all existing remote buckets to local
|
||||
TBD
|
||||
|
||||
## Upload local changes in `/buckets`
|
||||
```
|
||||
$ weed filer.remote.sync -createBucketAt=cloud1
|
||||
synchronize /buckets, default new bucket creation in cloud1 ...
|
||||
```
|
||||
Reference in New Issue
Block a user