Skip to content

LUYA module for file and database backup automatically by time.

Notifications You must be signed in to change notification settings

boehsermoe/luya-module-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backup Module

Based on LUYA schedule module

Installation

composer require boehsermoe/luya-module-backup

In order to add the modules to your project go into the modules section of your config:

return [
    'modules' => [
        // ...
        'backup' => [
            'class' => 'luya\backup\Module',
            
            // Path where files will exported. default @runtime/backups
            //'exportDir' => '/your/export/path' 
        ],
        // ...
    ],
];

Create a new job

Scheduler -> DatabaseBackupJobs -> Add

screen

Execute job

./luya scheduler/run/now {id/name of the job}

Start jobs by cron

Start all expired jobs every minute via cron:

* * * * * ./luya scheduler/run

About

LUYA module for file and database backup automatically by time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages