42장. Binary Log를 Recovery Chain으로 관리한다
full backup만으로 목표 시각까지 돌아갈 수 없다. backup 시작·종료와 binary log file/position 또는 GTID set, checksum, encryption key, 보존을 manifest에 묶는다. application이 실수로 삭제한 직전까지 복구하려면 event time과 commit order를 구분한다.
격리 server에 backup을 restore하고 binary log를 목표 transaction 직전까지 적용한다. row count·amount, schema, user/privilege, event scheduler와 representative query를 검증한다. RPO는 파일 timestamp가 아니라 실제 업무 row, RTO는 application smoke와 대사 완료까지 잰다. backup 성공 알림은 restore 시험을 대신하지 않는다.