spanjeta / yii2-backup

Database Backup and Restore functionality module extention for Yii2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yii2 Backup and Restore Database

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.

Usage

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',
        ],
        ...
        ...
    ],

make sure you create a writable directory named _backup on app root directory.

Usage

Pretty Url's /backup

No pretty Url's index.php?r=backup

About

Database Backup and Restore functionality module extention for Yii2.

License:Apache License 2.0


Languages

Language:PHP 100.0%