aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-08 22:30:12 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-08 22:30:12 -0700
commitdf85f7a1ebf81e1f8fe8bed5089bf5be71d7c76f (patch)
treee6e6524daa1a8879f3a2d9d45ebd87af8675b854 /weed
parentc0b12da4efbeb272d015c8cd51c1751d4f9abde7 (diff)
downloadseaweedfs-df85f7a1ebf81e1f8fe8bed5089bf5be71d7c76f.tar.xz
seaweedfs-df85f7a1ebf81e1f8fe8bed5089bf5be71d7c76f.zip
adjust help message
Diffstat (limited to 'weed')
-rw-r--r--weed/command/filer_remote_sync.go4
-rw-r--r--weed/command/filer_sync.go4
-rw-r--r--weed/shell/command_remote_mount.go3
3 files changed, 7 insertions, 4 deletions
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go
index 4afb7c091..dbc102c9d 100644
--- a/weed/command/filer_remote_sync.go
+++ b/weed/command/filer_remote_sync.go
@@ -56,8 +56,8 @@ func init() {
var cmdFilerRemoteSynchronize = &Command{
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",
- Long: `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: `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.
If any mounted remote file is updated, it will fetch the updated content,
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index a20f17201..a08238b56 100644
--- a/weed/command/filer_sync.go
+++ b/weed/command/filer_sync.go
@@ -70,8 +70,8 @@ func init() {
var cmdFilerSynchronize = &Command{
UsageLine: "filer.sync -a=<oneFilerHost>:<oneFilerPort> -b=<otherFilerHost>:<otherFilerPort>",
- Short: "resumeable 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
+ Short: "resumable continuous synchronization between two active-active or active-passive SeaweedFS clusters",
+ 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,
and write to the other destination. Different from filer.replicate:
diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go
index 91f8de2e2..f7869e221 100644
--- a/weed/shell/command_remote_mount.go
+++ b/weed/shell/command_remote_mount.go
@@ -35,6 +35,9 @@ func (c *commandRemoteMount) Help() string {
# mount and pull one directory in the bucket
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
+
`
}