Recovery By time

Recovery By time

Recovery By time:
using the mysqlbinlog utility,We can recover data from the binary log files, starting from a specified point in time until the present or another specified point in time.To restore data from a binary log, you must know the location and name of the current binary log file.Using SHOW BINLOG EVENTS\G statement, we can determine the name of the current binary log file.To specify the time to recover data, We can use following command:

mysqlbinlog –stop-date=[date] /var/log/mysql/bin | mysql -u root -p

Leave a Reply

You must be logged in to post a comment.


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.