Using Point-in-time-Recovery with mysqlbinlog without GTIDs
Hello
I've recently had to restore an instance with PITR. However, when I tried to replace the bin logs with the mysqlbinlog tool provided with MariaDB (10.3), I had a lot of issues with GTIDs being replayed as well. I believe that the mysqlbinlog tool has the option to exclude GTIDs from being replayed, but I am under the impression that the version that came with MariaDB is older and doesnt include that option.
Could you please help me with either a tool that excludes GTIDs or a work around in the meantime?
Best Regards Jonathan
Answer Answered by Ian Gilfillan in this comment.
Unfortunately mysqlbinlog in MariaDB doesn't support excluding GTIDs yet. GTIDs in MySQL are not implemented in the same way, and only the MySQL version of the tool does. There is an open task, MDEV-4989, but it doesn't appear to have been worked on in a while. I suggest voting/commenting there.