Description:
It is recommended to have all SQL database instances set to enable automated backups.
Rationale:
Backups provide a way to restore a Cloud SQL instance to recover lost data or recover from a problem with that instance. Automated backups need to be set for any instance that contains data that should be protected from loss or damage. This recommendation is applicable for SQL Server, PostgreSql, MySql generation 1 and MySql generation 2 instances.
Automated Backups will increase required size of storage and costs associated with it.
From Google Cloud Console
From Google Cloud CLI
gcloud sql instances list
gcloud sql instances patch --backup-start-time <[HH:MM]>
The 'backup-start-time' parameter is specified in 24-hour time, in the UTC±00 time zone, and specifies the start of a 4-hour backup window. Backups can start any time during the backup window.