adjust help message
This commit is contained in:
@@ -56,8 +56,8 @@ func init() {
|
|||||||
|
|
||||||
var cmdFilerRemoteSynchronize = &Command{
|
var cmdFilerRemoteSynchronize = &Command{
|
||||||
UsageLine: "filer.remote.sync -filer=<filerHost>:<filerPort> -dir=/mount/s3_on_cloud",
|
UsageLine: "filer.remote.sync -filer=<filerHost>:<filerPort> -dir=/mount/s3_on_cloud",
|
||||||
Short: "resumeable continuously write back updates to remote storage if the directory is mounted to the remote storage",
|
Short: "resumable continuously write back updates to remote storage if the directory is mounted to the remote storage",
|
||||||
Long: `resumeable continuously write back updates to remote storage if the directory is mounted to the remote storage
|
Long: `resumable continuously write back updates to remote storage if the directory is mounted to the remote storage
|
||||||
|
|
||||||
filer.remote.sync listens on filer update events.
|
filer.remote.sync listens on filer update events.
|
||||||
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,
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ func init() {
|
|||||||
|
|
||||||
var cmdFilerSynchronize = &Command{
|
var cmdFilerSynchronize = &Command{
|
||||||
UsageLine: "filer.sync -a=<oneFilerHost>:<oneFilerPort> -b=<otherFilerHost>:<otherFilerPort>",
|
UsageLine: "filer.sync -a=<oneFilerHost>:<oneFilerPort> -b=<otherFilerHost>:<otherFilerPort>",
|
||||||
Short: "resumeable continuous synchronization between two active-active or active-passive SeaweedFS clusters",
|
Short: "resumable continuous synchronization between two active-active or active-passive SeaweedFS clusters",
|
||||||
Long: `resumeable continuous synchronization for file changes between two active-active or active-passive filers
|
Long: `resumable continuous synchronization for file changes between two active-active or active-passive filers
|
||||||
|
|
||||||
filer.sync listens on filer notifications. If any file is updated, it will fetch the updated content,
|
filer.sync listens on filer notifications. If any file is updated, it will fetch the updated content,
|
||||||
and write to the other destination. Different from filer.replicate:
|
and write to the other destination. Different from filer.replicate:
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ func (c *commandRemoteMount) Help() string {
|
|||||||
# mount and pull one directory in the bucket
|
# mount and pull one directory in the bucket
|
||||||
remote.mount -dir=xxx -remote=s3_1/bucket/dir1
|
remote.mount -dir=xxx -remote=s3_1/bucket/dir1
|
||||||
|
|
||||||
|
# after mount, start a separate process to write updates to remote storage
|
||||||
|
weed filer.remote.sync -filer=<filerHost>:<filerPort> -dir=xxx
|
||||||
|
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user