-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] php artisan db:backup && php artisan db:restore #1635
Comments
Would be nice to consider giving files more meaningful names i.e. timestamp + custom_file_name as an option. php artisan db:backup to_user_custom_file_name |
|
👍 Nice idea! |
I think this would make a good package as @crynobone mentioned. It's a little more than we can take on in the core right now I think. |
Hey @tommymarshall I created a package for that need. You can find it here: https://github.com/schickling/laravel-backup |
php artisan db:backup
Pretty simple syntax. The first command will backup the DB and store it in
app/storage/backups
and timestamp it.php artisan db:restore
The second will restore the most recent database or you can name the backup to restore.
Thoughts?
The text was updated successfully, but these errors were encountered: