Monday, July 1, 2019

[google-cloud-sql-discuss] Re: Error exporting PostgreSQL to GCS

Hi Friedrich,

 

I would recommend you to bring your question to Stackoverflow with the output of the equivalent gcloud command with the --log-http flag so the community have extra information to help you troubleshoot this issue. The command could look something like this :

 

gcloud sql export sql [INSTANCE_NAME] [BUCKET_NAME]/sqldumpfile.gz\ --database=[DATABASE_NAME]\

--log-http



On Friday, June 28, 2019 at 2:53:01 PM UTC-4, Friedrich Lindenberg wrote:
Hey all, 

I'm trying to export two fairly large databases from Cloud SQL to a bucket, but the UI job gets cancelled after a few minutes. The operations logs only shows this: 

Error while uploading file to gs://xxx/xxx_2019-06-28 (17:37:32)-1561736277136192705.partial: Unknown error

I had to have assigned ownership of the DBs to separate users, perhaps there is a permissions problem --do I need to transfer ownership of the DBs back to cloudsqladmin for export?

- Friedrich

--
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/3a0c8f8e-8323-4530-9ed0-eaffc9604907%40googlegroups.com.

No comments:

Post a Comment