octoweb / yii2-db-dump
Module to rule your yandex metrika counters.
Installs: 199
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
This package is not auto-updated.
Last update: 2025-04-02 12:09:54 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