MySQL - Point-in-Time Recovery (PITR) in MySQL
1. What is Point-in-Time Recovery?
2. How PITR Works
PITR in MySQL is based on two things:
-
Full Backup (e.g., with mysqldump or mysqlpump or physical backup tools like Percona XtraBackup).
-
Binary Logs (binlogs) — these logs record every change (INSERT, UPDATE, DELETE) after the backup.