Yii2 Backup ¶
Database Backup and Restore functionality
Installation ¶
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist spanjeta/yii2-backup "*"
or add
"spanjeta/yii2-backup": "*"
to the require section of your composer.json
file.
Configuration ¶
Once the extension is installed, simply add it in your config by :
Basic `
config/web.php`
Advanced `
[backend|frontend|common]/config/main.php`
'modules' => [
'backup' => [
'class' => 'spanjeta\modules\backup\Module',
],
...
...
],
Usage ¶
Pretty Url's `
/backup`
No pretty Url's `
index.php?r=backup`
404?
Installed and configurated.
I have a 404 message when i call index.php?r=backup.
What can be wrong?
Demo??
Where is the Demo to See how it works and decide?
Or how about adding how it works?
demo
Any demo or example? Really no idea how its work.
Installed, tested and fail
This it wont work as it is a mix of yii1 and yii2
Probably is a work in progress.....
by the way i manage to debug it using:
ndex.php?r=crud no backup,
See GitHub
Change
'crud' => [ 'class' => 'spanjeta\modules\backup\Module', ],
into
'backup' => [ 'class' => 'spanjeta\modules\backup\Module', ],
And it works. Cause it's a port from Yii 1.1 some functionalities are not working yet. See the GitHub issue. https://github.com/spanjeta/yii2-backup/issues/3
Updated version
Please check updated version. It has many issues fixed.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.