Recuperação Point-in-time refere-se a recuperação de alterações de dados feitas desde um determinado ponto no tempo. Princípios Recuperação Point-in-time :
mysql> SHOW BINARY LOGS;
+-------------------+------------+
| Log_name | File_size |
+-------------------+------------+
| bih001-bin.000001 | 471330 |
| bih001-bin.000002 | 1074180683 |
| bih001-bin.000003 | 1073851408 |
| bih001-bin.000004 | 1074179088 |
| bih001-bin.000005 | 1074520589 |
| bih001-bin.000006 | 1074506906 |
| bih001-bin.000007 | 1074612015 |
| bih001-bin.000008 | 1074354544 |
| bih001-bin.000009 | 670753331 |
| bih001-bin.000010 | 598 |
+-------------------+------------+
10 rows in set (0.00 sec)
mysql> SHOW MASTER STATUS;
+-------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+-------------------+----------+--------------+------------------+
| bih001-bin.000010 | 598 | | |
+-------------------+----------+--------------+------------------+
1 row in set (0.00 sec)
mysql>
bash>cat /etc/my.cnf | grep log-bin
log-bin=mysql-bin
log-bin=/home/mysql_dados/bih001_bin_logs/bih001-bin
bash> mysqlbinlog bih001-bin.000010 > /tmp/stmt.sql