Thursday, January 28, 2016

[google-cloud-sql-discuss] Importing an export of an sql instance fails via command line, succeeds via cloud console

When I try to import an export of an sql instance via the command line, I get the following output:
Importing Cloud SQL instance...failed,
ERROR: (gcloud.sql.instances.import) UNKNOWN

The command I use is: 

> gcloud sql instances import <target instance> gs://<mybucket>/<file.gz>


However, when I import the file to the target instance using the cloud console, I don't get any errors.


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/8cd8147b-488a-4dd4-96e6-f05ebeaa3ec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment