Wednesday, December 23, 2015

[google-cloud-sql-discuss] Re: 2nd Generation export permission?

And from the command line my error is like:

-ERROR: (gcloud.sql.instances.export) ERROR_RDBMS

It is not a bucket permission issue because I can write to it just fine (for example from 1st gen export)

On Wednesday, December 23, 2015 at 10:13:25 AM UTC-5, Brian Wawok wrote:
I have a simple cron that runs as me, project owner, to do a daily cloud sql backup to nearline storage.

Very simple command like:

 gcloud sql instances export my-database gs://my-nearline-bucket/`date +\%Y/\%m/\%d/\%H-\%M`-backup.gz

Worked in 1st gen.. but now after moving to 2nd gen I see:

gs://my-nearline-bucket/2015/12/23/00-04-backup.gz Access denied (permission issue?)

What magic am I missing to allow the project owner permission to run gcloud sql instances export  ?

Thanks!



--
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/b5fadcf7-37eb-49b2-8f71-9cc10fe3cfc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment