oleaass/laravel-mysql-backup

Laravel artisan command to make a backup of the database

v1.0.0 2021-08-02 22:48 UTC

This package is auto-updated.

Last update: 2024-04-29 05:05:31 UTC


README

Simple package which allows you to easily make a backup of you MySQL database using artisan command

Installation

$ composer require oleaass/laravel-mysql-backup

Usage

Default usage

This will create a file named database-Ymd_His.sql.gz in storage_path('app/backup')

$ php artisan oleaass:mysql:backup

Custom name

$ php artisan oleaass:mysql:backup --name=latestdb