My Cloud SQL instance(MySQL) with High Availability enabled is totally down now - I can't connect into MySQL service, mysqldump, Export and Clone on the console are all down, even the Stop or Restart button response nothing but error messages.
Is there any solution to save my data without data loss? If I restore instance from the last backup, it will result a 12 hours data loss, disaster.
I considered "point-in-time recovery", but the question is how to locate the binary log filename and recover position if I can't enter into MySQL.
the error log from the crashed instance:
2021-01-26 19:03:29.613 CST
2021-01-26T11:03:29.612303Z 0 [ERROR] InnoDB: Invalid redo log header checksum.
Error
2021-01-26 19:03:29.613 CST
2021-01-26T11:03:29.612315Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
Error
2021-01-26 19:03:30.213 CST
2021-01-26T11:03:30.213169Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
Error
2021-01-26 19:03:30.214 CST
2021-01-26T11:03:30.214078Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Error
2021-01-26 19:03:30.214 CST
2021-01-26T11:03:30.214456Z 0 [ERROR] Failed to initialize builtin plugins.
question from:
https://stackoverflow.com/questions/65901261/how-to-save-data-from-a-crashed-cloud-sql-instance-without-data-loss 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…