Homec4science

dbdump: add slave support

Authored by Jan Aage Lavik <jan.age.lavik@cern.ch> on Sep 10 2012, 10:50.

Description

dbdump: add slave support

  • Adds support for running dbdump on replicated DB slaves. dbdump will take care of stopping slave replication before dumping and continuing it after dump.
  • New CLI parameter, --slave=HOST, will take the hostname of the desired slave to dump from or if empty, CFG_DATABASE_SLAVE is used

Conflicts:

modules/miscutil/lib/dbdump.py

Details

Committed
Samuele Kaplun <samuele.kaplun@cern.ch>Dec 18 2013, 16:23
Parents
R3600:74ff25e75ba4: dbdump: improve error handling
Branches
Unknown
Tags
Unknown

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:28a20cdc0add: dbdump: add slave support (authored by Jan Aage Lavik <jan.age.lavik@cern.ch>).Dec 18 2013, 16:23