open-ecommerce/yii2-backuprestore

Database Backup and Restore functionality

Installs: 2 968

Dependents: 1

Suggesters: 0

Security: 0

Stars: 9

Watchers: 6

Forks: 11

Open Issues: 11

Type:yii2-extension

v1.0 2017-02-12 13:30 UTC

This package is not auto-updated.

Last update: 2022-01-22 02:53:34 UTC


README

Database Backup and Restore functionality

This extension is base in: https://github.com/spanjeta/yii2-backup and other yii1 similar backup-restore extensions I converted to yii2 and made it more intuitive using the Kartik extensions.

Demo

Simple demo to see the screens and a proof of concept http://yii2.oe-lab.tk/

Installation

Requirements I am usin some Kartik extensions that you will need to install and configure in order to work: php composer.phar require kartik-v/yii2-grid "" php composer.phar require kartik-v/yii2-widget-fileinput ""

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist open-ecommerce/yii2-backuprestore "dev-master"

or add

"open-ecommerce/yii2-backuprestore": "dev-master"

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

    'backuprestore' => [
        'class' => '\oe\modules\backuprestore\Module',
        //'layout' => '@admin-views/layouts/main', or what ever layout you use
        ...
        ...
    ],

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

Pretty Url's /backuprestore

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