Hi. Is it true that --safe-slave-backup
is specifically only for temporary tables and so not needed in MySQL 8 when using binlog_format
of ROW
or MIXED
?
I’m backing up a MySQL 8 slave/replica using xtrabackup 8.0.26-18 with --safe-slave-backup
option. MySQL 8 is configured with binlog_format
of MIXED
. I’d prefer not to use --safe-slave-backup
option because this stops the replication thread for the entire backup. My backup takes more than 1 hour to complete due to the size of the database and so replication falls quite far behind and I’d like to avoid that if possible.
The xtrabackup Option Reference hints that --safe-slave-backup
is specifically for temporary tables and so it’s not needed in MySQL 5.7 if binlog_format
is ROW
.
In MySQL 8 according to MySQL :: MySQL 8.0 Reference Manual :: 17.5.1.31 Replication and Temporary Tables and MySQL :: MySQL 8.0 Reference Manual :: 5.4.4.3 Mixed Binary Logging Format, it seems that binlog_format
of ROW
or MIXED
doesn’t replicate temporary tables and this is why I’m thinking (and hoping) that I don’t need option --safe-slave-backup
.