我正在尝试将文件夹从Google计算引擎实例同步到云端存储,但它只是在没有任何指针的情况下退出。它会显示启动同步,然后返回提示符。
gsutil -m rsync -r public/ gs://mybucket/public
Building synchronization state...
Starting synchronization
我的gsutil版
gsutil version -l
gsutil version: 4.6
checksum: 397d8391fddbf1c48cc31f9c2911be68 (!= 70858e3360112a908c76273e6c947098)
boto version: 2.30.0
python version: 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
OS: Linux 3.16.0-62-generic
multiprocessing available: True
using cloud sdk: True
config path: /etc/boto.cfg
gsutil path: /usr/lib/google-cloud-sdk/platform/gsutil/gsutil
compiled crcmod: False
installed via package manager: False
editable install: False
我也尝试分别更新gsutil和gcloud组件,但这不起作用
gcloud components update
You cannot perform this action because the component manager has been
disabled for this installation. If you would like get the latest
version of the Google Cloud SDK, please see our main download page at:
https://developers.google.com/cloud/sdk/
ERROR: (gcloud.components.update) The component manager is disabled for this installation
我在这里可能缺少什么想法?
答案 0 :(得分:1)
当gsutil rsync仅输出“正在启动同步”(没有“复制”输出)时,这意味着它发现在您指定的源和目标之间不需要同步。