Estudei um pouco meu arquivo my.cnf e encontrei essa linha comentada
log_bin = /var/log/mysql/mysql-bin.log
descometei a linha, loquei no mysql pelo console e executei o comando
show variables like 'log%';
e teve a seguinte saída, mostrando o log_bin ativado
+---------------------------------+-------+
| Variable_name | Value |
+---------------------------------+-------+
| log | OFF |
| log_bin | ON |
| log_bin_trust_function_creators | OFF |
| log_bin_trust_routine_creators | OFF |
| log_error | |
| log_output | FILE |
| log_queries_not_using_indexes | OFF |
| log_slave_updates | OFF |
| log_slow_queries | OFF |
| log_warnings | 1 |
+---------------------------------+-------+
pesquisei a respeito e achei o comando
mysqlbinlog --start-datetime="2005-12-25 11:25:56" binlog.000003
será que consigo estabelecer uma data para fazer o backup log?
não sei se esta sendo esse comando pois a saída foi essa
mysqlbinlog --start-datetime="2014-07-01 06:00:00" binlog.000005
/*!40019 SET @
@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@
@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
mysqlbinlog: File 'binlog.000005' not found (Errcode: 2)
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;