You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./s3-tools -h
NAME:
s3-tools - s3 tools
USAGE:
s3-tools [global options] command [command options] [arguments...]
VERSION:
0.0.1+git.0ff5473f14
COMMANDS:
migrate s3 to s3 migrate
download from http[s] download to s3
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
$ ./s3-tools migrate -h
NAME:
s3-tools migrate - s3 to s3 migrate
USAGE:
src_endpoint and dst_endpoint must use type scheme://domain[:port], example http://example.com[:80]
OPTIONS:
--src_endpoint value [$src_endpoint]
--src_ak value [$src_ak]
--src_sk value [$src_sk]
--src_bucket value [$src_bucket]
--src_prefix value [$src_prefix]
--dst_endpoint value [$dst_endpoint]
--dst_ak value [$dst_ak]
--dst_sk value [$dst_sk]
--dst_bucket value [$dst_bucket]
--dst_prefix value [$dst_prefix]
--filelist value specify the list to be migrated, one object per line [$filelist]
--PartSize value (default: "16MiB") [$PartSize]
--NumThreads value (default: 4) [$NumThreads]
--EnableMemCache after turning it on, it will obviously occupy memory. PartSize*NumThreads (default: false) [$EnableMemCache]
--DisableMultipart (default: true) [$DisableMultipart]
--DisableContentSha256 (default: true) [$DisableContentSha256]
--concurrent value (default: 10) [$concurrent]
--watch loop to check if there is new data (default: false) [$watch]
--remove delete after completion (default: false) [$remove]
--src_uuid value src storage uuid [$src_uuid]
--dst_uuid value dst storage uuid [$dst_uuid]
--rpc value miner rpc, http://localhost:2345/rpc/v0 [$rpc]
--token value miner admin token [$token]
--help, -h show help
以下参数仅在网络质量不好且文件较大时尝试调整使用。
理论内网环境使用不调整则是最优。
如果数据大小大于目标集群part上限,需要开启分片上传。
--PartSize value (default: "16MiB") [$PartSize]
--NumThreads value (default: 4) [$NumThreads]
--EnableMemCache after turning it on, it will obviously occupy memory. PartSize*NumThreads (default: false) [$EnableMemCache]
--DisableMultipart (default: true) [$DisableMultipart]
--DisableContentSha256 (default: true) [$DisableContentSha256]
$ ./s3-tools download -h
NAME:
s3-tools download - from http[s] download to s3
USAGE:
s3-tools download [command options] [arguments...]
OPTIONS:
--dst_endpoint value [$dst_endpoint]
--dst_ak value [$dst_ak]
--dst_sk value [$dst_sk]
--dst_bucket value [$dst_bucket]
--dst_prefix value [$dst_prefix]
--filelist value specify the list to be downloaded, one url per line [$filelist]
--PartSize value (default: "16MiB") [$PartSize]
--NumThreads value (default: 4) [$NumThreads]
--EnableMemCache after turning it on, it will obviously occupy memory. PartSize*NumThreads (default: false) [$EnableMemCache]
--DisableMultipart (default: true) [$DisableMultipart]
--DisableContentSha256 (default: true) [$DisableContentSha256]
--concurrent value (default: 10) [$concurrent]
--help, -h show help