diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-06 16:16:22 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-06 16:16:22 -0700 |
| commit | 64f6532fbeb5e35028a19717186f712a14cbd13e (patch) | |
| tree | 01dd571b66503dec352ae6488470ee1d5776e1fe | |
| parent | 308d4b2daec1fddce51a2958d535e004b30d0791 (diff) | |
| download | seaweedfs-64f6532fbeb5e35028a19717186f712a14cbd13e.tar.xz seaweedfs-64f6532fbeb5e35028a19717186f712a14cbd13e.zip | |
update help message
| -rw-r--r-- | weed/command/filer_remote_sync.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go index b46a9fffc..3776ee4d9 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -57,7 +57,7 @@ func init() { } 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", Long: `resumable continuously write back updates to remote storage @@ -66,18 +66,20 @@ var cmdFilerRemoteSynchronize = &Command{ and write to the remote storage. There are two modes: - 1)Write back one mounted folder to remote storage - weed filer.remote.sync -dir=/mount/s3_on_cloud - - 2)Watch /buckets folder and write back all changes. - Any new buckets will be created in this remote storage. + 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 + + `, } |
