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

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.

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.