Bug #45944 --slave-data option for mysqldump
Submitted: 3 Jul 2009 16:55 Modified: 25 Aug 2010 11:57
Reporter: Mikiya Okuno Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[3 Jul 2009 16:55] Mikiya Okuno
Description:
When a user wants to add another slave to a replication setup, one often copies data from an existing slave to a new slave. In such case, mysqldump cannot retrieve slave data from the existing slave well unlike --master-data option. Having --slave-data option which reads the current master binlog position using SHOW SLAVE STATUS from an existing slave comes in handy!

How to repeat:
n/a

Suggested fix:
Please add an option like below:

shell> mysqldump [options] --slave-data[=1|2]
[25 Aug 2010 11:57] Valeriy Kravchuk
This is a duplicate of bug #26573.