savants / auto-backup
Auto Database Backup
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
This package is auto-updated.
Last update: 2025-05-06 16:45:10 UTC
README
Automatic Database Backup
Installation
Setup
- To install the package
composer require savants/auto-backup
- After that add this to your
app/Command/Kernel.php
protected function schedule(Schedule $schedule) { $schedule->command('db:backup')->daily()->at('23:40'); // set your type of backup time and date }
- Add this to your env
DUMP_PATH= // path to your mysqldump
License
- MIT license
- Copyright 2020 © Savants