savants / auto-backup
Auto Database Backup
dev-main
2021-10-06 09:08 UTC
This package is auto-updated.
Last update: 2026-03-06 18:29:09 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