Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
10.2.0-1, 10.2.0-5, 10.2.0-6
Description
This is a request to add continuous binary log backup to mysqlbinlog, such as exists in the MySQL mysqlbinlog as of 5.6.
"As of MySQL 5.6, mysqlbinlog can read binary log files and write new files containing the same content—that is, in binary format rather than text format. This capability enables you to easily back up a binary log in its original format. mysqlbinlog can make a static backup, backing up a set of log files and stopping when the end of the last file is reached. It can also make a continuous (“live”) backup, staying connected to the server when it reaches the end of the last log file and continuing to copy new events as they are generated. In continuous-backup operation, mysqlbinlog runs until the connection ends (for example, when the server exits) or mysqlbinlog is forcibly terminated. When the connection ends, mysqlbinlog does not wait and retry the connection, unlike a slave replication server. To continue a live backup after the server has been restarted, you must also restart mysqlbinlog."
https://dev.mysql.com/doc/refman/5.6/en/mysqlbinlog-backup.html
This also requires the addition of 2 new mysqlbinlog options:
--stop-never
--stop-never-slave-server-id=id
https://dev.mysql.com/doc/refman/5.6/en/mysqlbinlog.html#option_mysqlbinlog_stop-never
https://dev.mysql.com/doc/refman/5.6/en/mysqlbinlog.html#option_mysqlbinlog_stop-never-slave-server-id
Attachments
Issue Links
- duplicates
-
MDEV-5993 MySQL WL#4783 Extend mysqlbinlog to support remote backup of binary logs
- Closed
- is duplicated by
-
MDEV-8996 Add to Mysqlbinlog --raw and --stop-never
- Closed
- relates to
-
MDEV-8473 mysqlbinlog -v does not properly decode DECIMAL values in an RBR log
- Closed
-
MDEV-11177 mysqlbinlog exits silently without error when another instance connects to server
- Closed
-
MDEV-9792 Backport MDEV-8713 to 10.1
- Closed