Does this on-line backup strategy work?
I'll appreciate if someone will look at the following on-line InnoDB backup strategy for my repository data base and let me know whether I have it right?
I have transaction level to COMMITTED-READ for the server and also binary logs enabled. All tables are InnoDB.
Backup:
show master logs
mysqldump --user=root --password=whatever --single-transaction --verbose repository --result-file=D:\MySQLDataBackups\Repository\Repository.sql
show master logs
purge master logs to <the first log that isn't in both show master logs listings>
Recovery:
<shut down server>
<save the binary log files>
<start server with network turned off>
drop database repository
create database repository
mysql --user=root --password=whatever -e "D:\MySQLDataBackups\Repository\Repository.sq"
mysqlbinlog <all the saved binary log files>
<shut down server>
<start server with network turned on>
I also plan to set up a replicated server as a hot standby.
Thanks in advance/Anker
Subject
Views
Written By
Posted
Does this on-line backup strategy work?
4035
April 24, 2005 12:40PM
2694
April 24, 2005 05:40PM
3519
May 06, 2005 02:52AM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.