mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
update help message
This commit is contained in:
parent
308d4b2dae
commit
64f6532fbe
|
@ -57,7 +57,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var cmdFilerRemoteSynchronize = &Command{
|
var cmdFilerRemoteSynchronize = &Command{
|
||||||
UsageLine: "filer.remote.sync -dir=/mount/s3_on_cloud or -createBucketAt=clound1",
|
UsageLine: "filer.remote.sync",
|
||||||
Short: "resumable continuously write back updates to remote storage",
|
Short: "resumable continuously write back updates to remote storage",
|
||||||
Long: `resumable continuously write back updates to remote storage
|
Long: `resumable continuously write back updates to remote storage
|
||||||
|
|
||||||
|
@ -66,18 +66,20 @@ var cmdFilerRemoteSynchronize = &Command{
|
||||||
and write to the remote storage.
|
and write to the remote storage.
|
||||||
|
|
||||||
There are two modes:
|
There are two modes:
|
||||||
1)Write back one mounted folder to remote storage
|
|
||||||
|
|
||||||
weed filer.remote.sync -dir=/mount/s3_on_cloud
|
1)By default, watch /buckets folder and write back all changes.
|
||||||
|
|
||||||
2)Watch /buckets folder and write back all changes.
|
|
||||||
Any new buckets will be created in this remote storage.
|
|
||||||
|
|
||||||
# if there is only one remote storage configured
|
# if there is only one remote storage configured
|
||||||
weed filer.remote.sync
|
weed filer.remote.sync
|
||||||
# if there are multiple remote storages configured
|
# if there are multiple remote storages configured
|
||||||
|
# specify a remote storage to create new buckets.
|
||||||
weed filer.remote.sync -createBucketAt=cloud1
|
weed filer.remote.sync -createBucketAt=cloud1
|
||||||
|
|
||||||
|
2)Write back one mounted folder to remote storage
|
||||||
|
|
||||||
|
weed filer.remote.sync -dir=/mount/s3_on_cloud
|
||||||
|
|
||||||
|
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue