The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require evans/yii2-backup "dev-master"
or add
"evans/yii2-backup": "dev-master"
to the require
section of your composer.json
file.
'modules' => [
'db' => [
'class' => 'evans\backup\Module',
],
],
数据备份: ?r=db/export
数据还原: ?r=db/import