我运行了一个谷歌云虚拟机实例。我有一些MySQL备份文件要下载到我的本地计算机。我运行Ubuntu 14.10 LTS并将Xfce配置为GUI。我尝试通过Gmail和谷歌驱动器发送电子邮件,但文件未上传。当我尝试使用gcloud SCP命令时如下但失败了。错误在哪里?
D:\Users\User\AppData\Local\Google\Cloud SDK>gcloud compute scp src api-project-316008881718:/home/buddhika_ari/backups/latest/dinulaka_2017-09-05_06h38m.Tuesday.sql.gz des d:
ERROR: (gcloud.compute.scp) Multiple remote sources not supported by PuTTY. Got sources: [src, api-project-316008881718:/home/buddhika_ari/backups/latest/dinulaka_2017-09-05_06h38m.Tuesday.sql.gz, des], destination: d:
答案 0 :(得分:1)
您不需要在命令中添加src
和dest
,这些只是占位符。以下命令应该起作用:
gcloud compute scp api-project-316008881718:/home/buddhika_ari/backups/latest/dinulaka_2017-09-05_06h38m.Tuesday.sql.gz d: