MySQL Forums
Forum List  »  Backup

Re: mysql 5.5 mysqldump
Posted by: Shiva V
Date: November 19, 2011 03:08PM

Hmmm, 20 views & still no answer. Is this a naive question?

I forgot to mention that the SQL thread on Slave deletes the "Relay Log Files" automatically whenever it rotates the relay log files (either with flush or max size reached). So, in essence, the relay log files do not stay there for "n" amount of days to consider them as "Incremental backups".

mysqlbinlog does read both "Bin logs" and "relay log files" in the same way. Both of these log files are formatted in the same way with respect to events logging, so i think these can be used for recovery purpose but not exactly true as there is no way to control the relay log files deletion and hence not used for "incremental backup strategy".

So, does this mean, that even though we take backups on SLAVE server, we still have to backup the "BINARY LOGS" on the MASTER server to implement a "Incremental backup" strategy? Or enable the "--log-slave-updates" to backup the "BINARY LOGS" on the SLAVE?

Thanks,
Shiva

Options: ReplyQuote


Subject
Views
Written By
Posted
3068
November 18, 2011 04:22PM
Re: mysql 5.5 mysqldump
1478
November 19, 2011 03:08PM
1411
November 19, 2011 08:47PM
1489
November 20, 2011 10:04PM
1912
November 22, 2011 12:14AM


Sorry, you can't reply to this topic. It has been closed.

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.