made with Laravel

Laravel Backup Restore

Restore Backups Made With spatie/laravel-backup

Visit Site

Description

Restore Backups Made With spatie/laravel-backup

"laravel-backup-restore is a package to restore database backups made with spatie/laravel-backup. After you've installed it, a new backup:restore-command is available in your Laravel project.

If you just run php artisan backup:restore, the command will become interactive and will ask for some input. Which backup to restore, the decryption password and a last confirmation to start the restore process.

The restore process can also be automated by passing the --no-interaction option to the command. Laravel will then use any of the provided options or their default values for the restore process.

The package will download the selected backup to your machine, decrypt and decompress it and then import the database dump into your local database. The package currently supports MySQL, PostgreSQL and SQLite.

File backups are not restored. The command would – for example – not replace your local storage/app directory with the folder stored in the backup."


Creator

Stefan Zweifel
@stefanzweifel.dev


Social Media Links

Laravel Email Failer Trigger Email Failures
icon-eye-dark Created with Sketch. 1.378
Laravel Excludable Exclude Model Entities From Eloquent Queries
icon-eye-dark Created with Sketch. 1.236
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Laravel Auditable Audit Logs for Eloquent Models
icon-eye-dark Created with Sketch. 5.510
Duster Automatic Configuration of Tighten's Default Code Style
icon-eye-dark Created with Sketch. 856