mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust help messages
This commit is contained in:
parent
f0907eb83c
commit
b5f4910412
|
@ -54,8 +54,8 @@ func init() {
|
||||||
|
|
||||||
var cmdFilerRemoteGateway = &Command{
|
var cmdFilerRemoteGateway = &Command{
|
||||||
UsageLine: "filer.remote.gateway",
|
UsageLine: "filer.remote.gateway",
|
||||||
Short: "resumable continuously write back bucket creation, deletion, and other local updates to remote storage",
|
Short: "resumable continuously write back bucket creation, deletion, and other local updates to remote object store",
|
||||||
Long: `resumable continuously write back bucket creation, deletion, and other local updates to remote storage
|
Long: `resumable continuously write back bucket creation, deletion, and other local updates to remote object store
|
||||||
|
|
||||||
filer.remote.gateway listens on filer local buckets update events.
|
filer.remote.gateway listens on filer local buckets update events.
|
||||||
If any bucket is created, deleted, or updated, it will mirror the changes to remote object store.
|
If any bucket is created, deleted, or updated, it will mirror the changes to remote object store.
|
||||||
|
|
|
@ -53,21 +53,8 @@ var cmdFilerRemoteSynchronize = &Command{
|
||||||
If any mounted remote file is updated, it will fetch the updated content,
|
If any mounted remote file is updated, it will fetch the updated content,
|
||||||
and write to the remote storage.
|
and write to the remote storage.
|
||||||
|
|
||||||
There are two modes:
|
|
||||||
|
|
||||||
1)By default, watch /buckets folder and write back all changes.
|
|
||||||
|
|
||||||
# if there is only one remote storage configured
|
|
||||||
weed filer.remote.sync
|
|
||||||
# if there are multiple remote storages configured
|
|
||||||
# specify a remote storage to create new buckets.
|
|
||||||
weed filer.remote.sync -createBucketAt=cloud1
|
|
||||||
|
|
||||||
2)Write back one mounted folder to remote storage
|
|
||||||
|
|
||||||
weed filer.remote.sync -dir=/mount/s3_on_cloud
|
weed filer.remote.sync -dir=/mount/s3_on_cloud
|
||||||
|
|
||||||
|
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue