protected function fire()
{
$db = $this->craft->getComponent('db');
$path = $this->suppressOutput([$db, 'backup']);
$path = preg_replace('/^' . preg_quote(getcwd() . DIRECTORY_SEPARATOR, '/') . '/', '.' . DIRECTORY_SEPARATOR, $path);
$this->info(sprintf('Backup %s created.', $path));
}