Menu

Tree [cead8b] master /
 History

HTTPS access


File Date Author Commit
 commands 2017-08-23 Shiv Charan Panjeta Shiv Charan Panjeta [97443c] Fixed restore
 controllers 2017-08-23 Shiv Charan Panjeta Shiv Charan Panjeta [97443c] Fixed restore
 helpers 2018-05-11 Cherednyk Maxim Cherednyk Maxim [94d50f] deprecated since 2.0.13
 models 2017-08-23 Shiv Charan Panjeta Shiv Charan Panjeta [97443c] Fixed restore
 views 2017-08-23 Shiv Charan Panjeta Shiv Charan Panjeta [97443c] Fixed restore
 LICENSE 2014-10-24 Shiv Charan Panjeta Shiv Charan Panjeta [4c2fa0] Initial commit
 Module.php 2017-08-23 Shiv Charan Panjeta Shiv Charan Panjeta [97443c] Fixed restore
 README.md 2014-10-28 Shiv Charan Panjeta Shiv Charan Panjeta [d64a3c] Update README.md
 composer.json 2014-10-24 Shiv Charan Panjeta Shiv Charan Panjeta [ca1c40] fixed path issue

Read Me

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