savants/auto-backup

Auto Database Backup

dev-main 2021-10-06 09:08 UTC

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

License