Using dumpBinLogs() and loadBinLogs() in MySQL Shell is like doing an incremental backup and restore of your database. The dumpBinlogs() method will dump only the data and schema changes since the last time you ran dumpInstance() or dumpBinLogs(). This video shows how to use these tools.
MySQL Shell – https://dev.mysql.com/doc/mysql-shell/9.2/en/
util.dumpBinlogs() Documentation – https://dev.mysql.com/doc/mysql-shell/9.2/en/mysql-shell-utilities-dump-binlogs.html
util.loadBinlogs() Documentation – https://dev.mysql.com/doc/mysql-shell/9.2/en/mysql-shell-utilities-dump-binlogs.html
MySQL Shorts Episode 21 – https://youtu.be/qyAmZhojH-U?si=CKOzczmV8t3FmayM