My team has a requirement that we be able to retrieve a backup of our database (hosted on Google Cloud SQL) and restore that database to a locally hosted instance of MySQL.
I know that Google Cloud SQL has the ability to schedule backups, but these don't appear to be available to download anywhere.
I also know that we are able to "export" our database to Google Cloud Storage, but we'd like to be able to schedule the "export".
The end goal here is to execute the following steps in some sort of an admin script:
- Automatically backup our database that is hosted on Google Cloud SQL.
- Download the backup to a local (not cloud) server.
- Restore backup to a local instance of MySQL.
Any ideas?