klikar3/yii2-backup

Database Backup and Restore functionality

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

0.1.1 2019-10-06 12:00 UTC

This package is auto-updated.

Last update: 2024-11-13 16:18:58 UTC


README

Database Backup and Restore functionality

This module is derived from the work of Shiv Charan Panjeta shivcharan.panjeta@gmail.com https://github.com/spanjeta/yii2-backup

i only added a download function and a confirm message in case of backup-deletion

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist klikar3/yii2-backup "*"

or add

"klikar3/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' => 'klikar3\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