yii2-backuprestore Yii2 Backup and Restore

Yii2 Backup and Restore Database

  1. Installation
  2. Usage

Database Backup and Restore functionality

how should look


Link to a simple demo

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.


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.


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`

more info at: https://github.com/open-ecommerce/yii2-backuprestore

You can always find us at: Open-ecommerce.org

0 2
Yii Version: 2.0
License: BSD-2-Clause
Category: Database
Developed by: open-ecommerce.org
Created on: Apr 7, 2015
Last updated: 9 years ago


show all

Related Extensions