src/console/controllers/MysqlController.php
public function actionRestore($fileName = null)
    {
        try {
            $this->stdout(\Yii::t('skeeks/dbDumper', "The installation process is running the database")."\n");
            \Yii::$app->dbDumper->restore($fileName);
            $this->stdout(\Yii::t('skeeks/dbDumper', "Dump successfully installed")."\n", Console::FG_GREEN);
        } catch (\Exception $e) {
            $this->stdout(\Yii::t('skeeks/dbDumper',
                    "In the process of restoring the dump occurred error").": {$e->getMessage()}\n", Console::FG_RED);
        }
    }
public function actionRestore($fileName = null)
    {
        try {
            $this->stdout(\Yii::t('skeeks/dbDumper', "The installation process is running the database")."\n");
            \Yii::$app->dbDumper->restore($fileName);
            $this->stdout(\Yii::t('skeeks/dbDumper', "Dump successfully installed")."\n", Console::FG_GREEN);
        } catch (\Exception $e) {
            $this->stdout(\Yii::t('skeeks/dbDumper',
                    "In the process of restoring the dump occurred error").": {$e->getMessage()}\n", Console::FG_RED);
        }
    }
Restore from the file dump
@param null $fileName The path to the dump file