This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

how to recover from last backup and binary log + relay log on a master master DB cluster

Hi Guys,

my name is Tim,

i am setting up a db cluster active active. i wanted to test the recovery from last good backup and the binary logs. the issue is that the sql statements are spread among binary and relay logs.

Do you know how to combine restore from them.

mysqlbinlog relay-bin.000002 mariadb-bin.000014 > final-binlog.out

but the sorting is not good how do we sort it out?

Tim

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.