protected function dumpDatabase($filename, $noData = false) { try { $db = $this->getDb(); $db->dump($filename, $noData); } catch (Exception $e) { $this->writer->error($e->getMessage()); return false; } return true; }