mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Update mysqldump man page
This commit is contained in:
parent
7f2fd34500
commit
3ada316969
1 changed files with 23 additions and 0 deletions
|
@ -753,6 +753,29 @@ suppresses date printing\&
|
|||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
.\" mysqldump: dump-slave option
|
||||
.\" dump-slave option: mysqldump
|
||||
\fB\-\-dump\-slave[=\fR\fB\fIvalue\fR\fR\fB]\fR
|
||||
.sp
|
||||
Used for producing a dump file from a replication slave server that can be used to set up another slave server
|
||||
with the same master\&. Causes the binary log position and filename of the master to be appended to the dumped
|
||||
data output\&. Setting the value to 1 (the default) will print it as a CHANGE MASTER command in the dumped data
|
||||
output; if set to 2, that command will be prefixed with a comment symbol\&. This option will turn
|
||||
\-\-lock\-all\-tables on, unless \-\-single-transaction is specified too (in which case a global read lock is only
|
||||
taken a short time at the beginning of the dump \- don't forget to read about \-\-single-transaction below)\&. In
|
||||
all cases any action on logs will happen at the exact moment of the dump\&. Option automatically turns
|
||||
\-\-lock\-tables off\&. Using this option causes mysqldump to stop the slave SQL thread before beginning the dump,
|
||||
and restart it again after completion\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
.\" mysqldump: events option
|
||||
.\" events option: mysqldump
|
||||
\fB\-\-events\fR,
|
||||
|
|
Loading…
Reference in a new issue