Friday, January 19, 2018

[google-cloud-sql-discuss] Re: Exporting Multiple Tables from a Postgres Instance

George,

That particular incantation doesn't make much sense to me, but here's the result when running that with an increased verbosity:

$ gcloud sql instances export va-production gs://va-backups/$(date +%s)2-sql.gz --database vintageaerial_production --table=leads -t issues --verbosity=debug
DEBUG: Running [gcloud.sql.instances.export] with arguments: [--database: "['vintageaerial_production']", --table: "['issues']", --verbosity: "debug", INSTANCE: "va-production", URI: "gs://va-backups/15163977432-sql.gz"]
Exporting Cloud SQL instance...done.
Exported [https://www.googleapis.com/sql/v1beta4/projects/vintage-aerial/instances/va-production] to [gs://va-backups/15163977432-sql.gz].
INFO: Display format "value(.)".

Still seems to only pick up the issues table, not the second one.

On Wednesday, January 17, 2018 at 8:40:20 PM UTC-5, George (Cloud Platform Support) wrote:
Hello Kevin, 

Your commands don't seem to allow for a space between leads,issues. You didn't try running the command with  --table=leads -t issues.  What is the output of the command when run with the gcloud wide flag --verbosity, and its value set to debug? 

--
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/b1ba0757-7174-4059-b8dc-f8c68d5217f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment