How does mysqlbinlog incrementally back up a specified database instance?

I have created several database, in the mysql database, such as db1 and db2, to check the usage of mysqlbinlog. It seems that the scope of action is for the whole database, that is, the logs of db1 and db2 are stored together.

is there a way to do incremental backups only for db1?

Feb.11,2022

mysqlbinlog-- database=db1
mysqlbinlog-d db1
https://dev.mysql.com/doc/ref.

Menu