public function backup(Connection $source, Connection $dest)
{
$dumpCommand = $this->mysqldump . ' ' . implode(' ', $this->formatCommandParameters($source));
$mysqlCommand = $this->mysql . ' ' . implode(' ', $this->formatCommandParameters($dest));
$command = $dumpCommand . ' | ' . $mysqlCommand;
$lastline = system($command, $ret);
return $ret == 0 ? true : false;
}