I want to export from Google Cloud SQL with function Export, in a cloud bucket. But do not work at all. Nothing happen. There is a bug.
It's not first time when I made exports, but right now the export function do not work.
Any ideas?
I want to export from Google Cloud SQL with function Export, in a cloud bucket. But do not work at all. Nothing happen. There is a bug.
It's not first time when I made exports, but right now the export function do not work.
Any ideas?
The problem is generated by the settings of bucket where you try to export:
To resolve export function issue, please try the steps below:
Print screens:
Step-1
Step-2
Step-2-with-custom-db-export
Final-Export-Running
A suggestion to Google Cloud Engineers is to post an error message or something when you try to export in a bucket with wrong Access Control Model. Right now you don't have any clue what is happening.
I have got the same problem. It seems to be a bug with the GCP console.
A work around is to use the command line tool instead.
First you will need to give your cloudSQL service account permissions to access your bucket. Do this by copying the service account name and adding it on the bucket permissions in the GCP console. It will need Storage Object Creator permissions.
Next to export, use the following command.
gcloud sql export <<instancename>> gs://<<bucket name>>/<<file Name>>.gz —database=<<DB name>>