Yii 2.0: yii2-backup

Database Backup and Restore functionality module extention for Yii2
9 followers

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

Total 6 comments

#20120 report it
shiv at 2017/08/26 03:13am
Updated version

Please check updated version. It has many issues fixed.

#19171 report it
MGHollander at 2015/04/04 04:40am
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

#19129 report it
open-ecommerce.org at 2015/03/26 08:25am
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,

#18661 report it
funfunstar at 2014/12/09 12:03am
demo

Any demo or example? Really no idea how its work.

#18567 report it
Stefano Mtangoo at 2014/11/18 03:22pm
Demo??

Where is the Demo to See how it works and decide? Or how about adding how it works?

#18489 report it
J_jack_K at 2014/11/05 09:12pm
404?

Installed and configurated. I have a 404 message when i call index.php?r=backup.

What can be wrong?

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet