Skip to content

Commit 52b590b

Browse files
authored
Merge pull request #271 from iangilfillan/10.0
Update mysqldump man page
2 parents 7f2fd34 + 3ada316 commit 52b590b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

man/mysqldump.1

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,29 @@ suppresses date printing\&
753753
.sp -1
754754
.IP \(bu 2.3
755755
.\}
756+
.\" mysqldump: dump-slave option
757+
.\" dump-slave option: mysqldump
758+
\fB\-\-dump\-slave[=\fR\fB\fIvalue\fR\fR\fB]\fR
759+
.sp
760+
Used for producing a dump file from a replication slave server that can be used to set up another slave server
761+
with the same master\&. Causes the binary log position and filename of the master to be appended to the dumped
762+
data output\&. Setting the value to 1 (the default) will print it as a CHANGE MASTER command in the dumped data
763+
output; if set to 2, that command will be prefixed with a comment symbol\&. This option will turn
764+
\-\-lock\-all\-tables on, unless \-\-single-transaction is specified too (in which case a global read lock is only
765+
taken a short time at the beginning of the dump \- don't forget to read about \-\-single-transaction below)\&. In
766+
all cases any action on logs will happen at the exact moment of the dump\&. Option automatically turns
767+
\-\-lock\-tables off\&. Using this option causes mysqldump to stop the slave SQL thread before beginning the dump,
768+
and restart it again after completion\&.
769+
.RE
770+
.sp
771+
.RS 4
772+
.ie n \{\
773+
\h'-04'\(bu\h'+03'\c
774+
.\}
775+
.el \{\
776+
.sp -1
777+
.IP \(bu 2.3
778+
.\}
756779
.\" mysqldump: events option
757780
.\" events option: mysqldump
758781
\fB\-\-events\fR,

0 commit comments

Comments
 (0)