wnx/laravel-backup-restore
Restore database backups created by spatie/laravel-backup. Adds an interactive php artisan backup:restore command to pick a backup and optionally decrypt it, then run configurable post-restore health checks to validate the restored DB.
spatie/laravel-backup, reducing downtime and manual intervention during critical failures (e.g., corrupted databases, accidental deletions).spatie/laravel-backup infrastructure, minimizing integration effort.--no-interaction flag for cronjobs).spatie/laravel-backup (this package is a direct extension).spatie/laravel-backup to disable GTID during dumps).spatie/laravel-backup directly or a custom script).spatie/laravel-backup's encryption).*"This package lets us automate and validate database restores—critical for reducing downtime during failures. By integrating with our existing spatie/laravel-backup setup, we can:
*"This is a drop-in solution for restoring spatie/laravel-backup databases with these key benefits:
config/backup.php and encryption setup.HealthCheck.--no-interaction for scripting.
Downsides: No file restoration (but we can layer this on top), and GTID databases need config tweaks. Worth the tradeoff for the reliability gains."**"This solves two pain points:
--reset to wipe and repopulate.
Example use case: If a dev accidentally drops the users table, they can run php artisan backup:restore --backup=latest --no-interaction and we’ve validated the restore works in staging first."*How can I help you explore Laravel packages today?