Personal Laravel 6.x back-up & restore tool
- Run the following command:
$ composer require edouna/laravel-db-backup
Creates a dump file in app/storage/db-backups
This folder can be changed in config/db-backup.php
$ php artisan db:backup
The restore function will display a list of made back-ups and present a list to choose from.
$ php artisan db:restore