Skip to content

Laravel Artisan Backup is Package for Backup The Database, Super Fast and Easy with Artisan Backup

License

Notifications You must be signed in to change notification settings

dayCod/laravel-artisan-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Artisan Backup

Laravel Artisan Backup is Package for Backup The Database, Super Fast and Easy with Artisan Backup

Installation Guide

composer require daycode/artisan-backup

Go to config/app.php, then put these code on service providers

'providers' => [
    /*
    * Package Service Providers...
    */
    \DayCod\ArtisanBackup\ArtisanBackupServiceProvider::class,
],

Last, for make sure this package installed correctly.

composer dump-autoload && php artisan optimize:clear

Default Artisan Backup Directory Structure

├── ...
├── database                    
|    ├── ...          
|    ├── backup          
|    |   ├── mysql
|    |   |   ├── sql
|    |   |   ├── json 
|    |   └── ...           
|    └── ...                
└── ...

Usage Guide

MySQL Backup

SQL Format

php artisan backup:mysql -t sql

Or

php artisan backup:mysql --type=sql

JSON Format

php artisan backup:mysql -t json

Or

php artisan backup:mysql --type=json

Contributors

License

This project is released under the MIT license.

About

Laravel Artisan Backup is Package for Backup The Database, Super Fast and Easy with Artisan Backup

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages