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

pkg:composer/savants/auto-backup

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

This package is auto-updated.

Last update: 2025-12-06 18:02:46 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