【发布时间】:2017-08-05 18:50:19
【问题描述】:
我正在从命令行尝试 s3cmd,当我使用 s3cmd --configure 配置时,它会询问我以下信息行。我知道我给出了正确的Access Key 和Secret key。但我认为问题出在Default Region: Mumbai 或S3 Endpoint: ap-south-1.amazonaws.com 或
DNS-style bucket+hostname:port template for accessing a bucket:。我的 S3 存储桶位于印度孟买。
Access Key: ASOMETHINGJFDGERCEMUA
Secret Key: 5q2tbwdf43/sdfsdfsdf/AopqPd73QaiN4fr3e3fv8wE
Default Region: Mumbai
S3 Endpoint: ap-south-1.amazonaws.com
DNS-style bucket+hostname:port template for accessing a bucket: %(bucket)s.s3.ap-south-1.amazonaws.com
Encryption password:
Path to GPG program: None
Use HTTPS protocol: True
HTTP Proxy server name:
HTTP Proxy server port: 0
错误:
错误:测试失败:[Errno 8] nodename or servname provided, or not known
【问题讨论】:
-
这几天,建议使用官方的AWS Command-Line Interface (CLI),而不是
s3cmd。 -
我必须同意@JohnRotenstein。 AWS CLI 受 AWS 支持。我强烈推荐超过 s3cmd。
-
在某个时间和地点,
s3cmd统治aws s3 ...s3cmd 将允许您在执行数据库转储等操作时将数据流式传输到您的存储桶。很简单,时间和地点。