Sign inSign up

websmurf/cloudsql-backup

By websmurf

Updated 3 months ago

Container to generate backups of Google CloudSQL instances through Google Cloud Run

Image
Databases & storage
0

638

websmurf/cloudsql-backup repository overview

Quick reference

Quick reference (cont.)

What is this container?

This container is a backup solution for Google Cloud SQL databases through Google Cloud Run. It is designed to be run as a cron job, and it will create a backup of your database and store it in Google Cloud Storage.

The container is based on the mysql 8 image. It expects a few environment variables to be set in order to work properly. You can define them in the Variables & Secrets section of your Google Cloud Run service.

Environment VariableDescription
USERNAMEThe username to connect to the database.
PASSWORDThe password to connect to the database.
CLOUDSQLThe CloudSQL instance to connect to.
DATABASEThe names of the databases you wish to backup
STORAGE_PATHThe path where the backup will be stored

On execution, the container will generate a backup of the databases you've provided as a backup-YYYYMMDD.sql.gz file.

Tag summary

Content type

Image

Digest

sha256:020e0eca1

Size

227.2 MB

Last updated

3 months ago

docker pull websmurf/cloudsql-backup:8.4-r2