octoweb/yii2-db-dump

Module to rule your yandex metrika counters.

Installs: 197

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2015-10-08 14:54 UTC

This package is not auto-updated.

Last update: 2024-05-15 08:08:05 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist octoweb/yii2-db-dump "*"

or add

"octoweb/yii2-db-dump": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply activate module in config file:

<?php
    ......
   'modules' => [
        'backup' => [
            'class' => 'octoweb\DbDump\Module',
        ],
    ],
    ......

?>

Console

Once the extension is installed, simply activate module in config file:

<?php
    ......
   'modules' => [
        'backup' => [
            'class' => 'octoweb\DbDump\Module',
        ],
    ],
    ......

?>

Console create

yii backup/console/create

cron

php /public_html/yii backup/console/create >> /public_html/log/crond_error.log 2>&1