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 Scout Bulk Actions Bulk-import & Flush Laravel Scout Searchable Models
icon-eye-dark Created with Sketch. 95
Squeaky Validation Rule to Catch Profanity
icon-eye-dark Created with Sketch. 393
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Pan Product Analytics Package
icon-eye-dark Created with Sketch. 702
Laravel Cats Print ASCII cats when debugging & dumping data
icon-eye-dark Created with Sketch. 1.245