how to recover from last backup and binary log + relay log on a master master DB cluster
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?