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?



Comments loading...
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.