Files
phabricator/scripts
epriestley 5a0b7398ca Give bin/storage some replica-aware options
Summary:
Fixes T10758.

  - Adds a "--host" flag. If you specify this, we read your cluster config. This lets you dump from a replica.
  - Adds a "--for-replica" flag to `storage dump`. This makes `mysqldump` include a `CHANGE MASTER ...` statement in the output, which is useful when setting up a replica for the first time.

Test Plan:
  - Dumped master and replica cluster databases.
  - Dumped non-cluster databases.
  - Ran various other commands (help, status, etc).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10758

Differential Revision: https://secure.phabricator.com/D15714
2016-04-14 13:23:35 -07:00
..
2012-11-05 11:16:51 -08:00
2015-12-24 09:06:35 -08:00
2016-02-10 12:44:52 -08:00
2015-06-03 18:42:33 -07:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00