Homec4science

dbdump: improve error handling

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

Description

dbdump: improve error handling

  • Improves error handling during compression of dumps, in order to catch the error code from the mysqldump command. Before, errors in the mysqldump command would fail silently.
  • Compression (using gzip) is now an optional flag with --compress.
  • The default mysqldump flags can now be overwritten with the CLI argument --params=.
  • Re-structures the API a bit from _dump_database to dump_database which takes more arguments.

Details

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:74ff25e75ba4: dbdump: improve error handling (authored by Jan Aage Lavik <jan.age.lavik@cern.ch>).Dec 18 2013, 16:23