A database administrator needs to update an existing Cloud SQL for MySQL instance named `prod-mysql-db` to enable automated daily backups with a start time of 03:00 UTC and to enable point-in-time recovery (PITR). Which TWO `gcloud sql instances patch` command flags must be specified to meet these operational requirements?
- --backup-start-time=03:00Cevap
- --enable-bin-logCevap
- C--enable-point-in-time-recovery
- D--no-assign-ip
Cevap
To configure automated backups and point-in-time recovery on a Cloud SQL for MySQL database, specify `--backup-start-time=03:00` to establish the daily backup start time window and `--enable-bin-log` to turn on binary logging.
For Cloud SQL for MySQL instances, automated daily backups are configured using the `--backup-start-time` flag in `HH:MM` format. Point-in-time recovery for MySQL requires binary logging to be enabled using the `--enable-bin-log` flag.
Adım Adım Çözüm
Anahtar Kavram
Cloud SQL for MySQL backup and binary logging configuration via gcloud CLI