DevOps-Python-tools/gcp_cloud_function_sql_export at master · yogi-org/DevOps-Python-tools · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Google Cloud Function - SQL Backup Exporter to GCS

Triggers GCP Cloud SQL export backups to GCS.

Solution documentation:

https://cloud.google.com/solutions/scheduling-cloud-sql-database-exports-using-cloud-scheduler

  • main.py - the code
  • requirements.txt - the pip modules to bootstrap
  • deploy.sh - upload the code and deps

Upload the function to GCF in the current GCP project:

./deploy.sh

Solution Dependencies