dev-master
9999999-dev http://luya.ioThe LUYA Backup module.
MIT
The Requires
php yii2 module yii backup luya
The LUYA Backup module.
Based on LUYA schedule module, (*1)
composer require boehsermoe/luya-module-backup
, (*2)
In order to add the modules to your project go into the modules section of your config:, (*3)
return [ 'modules' => [ // ... 'backup' => [ 'class' => 'luya\backup\Module', // Path where files will exported. default @runtime/backups //'exportDir' => '/your/export/path' ], // ... ], ];
Scheduler -> DatabaseBackupJobs -> Add, (*4)
, (*5)
./luya scheduler/run/now {id/name of the job}
Start all expired jobs every minute via cron:, (*6)
* * * * * ./luya scheduler/run
The LUYA Backup module.
MIT
php yii2 module yii backup luya