Wednesday, May 26, 2021

[google-cloud-sql-discuss] Trigger Importing Dump SQL File to Cloud SQL

Hi everyone, 

The Scenario: 
I am receiving a dump SQL file every day on my Cloud storage bucket and I need to automate importing this file to Cloud SQL as soon as the file arrived in GCS. 

My suggestion is to use a Cloud function to trigger Cloud SQL when the file arrives in GCS. but I don't know how to achieve this process (importing to Cloud SQL) in the programmatic (Pythonic) way. 

 Does anybody have any idea that will help me achieve this?


Thanks, Ahmed

--
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/7ca76a2e-1e21-479d-85d9-b02152770fccn%40googlegroups.com.

No comments:

Post a Comment