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 failures (e.g., corrupted data, accidental deletions, or infrastructure outages).--connection flags, enabling controlled data migrations or rollbacks.--keep flag allows debugging backups without deleting temporary files, useful for post-mortems.Adopt if:
spatie/laravel-backup for database backups (this package is dependent on it).Look elsewhere if:
mysqldump, RDS snapshots, or third-party tools like AWS Backup).*"This package automates database disaster recovery and backup validation, reducing risk of data loss and downtime. By integrating with our existing spatie/laravel-backup setup, we can:
*"This fills a gap in our backup workflow by enabling programmatic, validated restores of Spatie backups. Key benefits:
php artisan backup:restore with flags for disk, backup, connection, and decryption (supports S3, encrypted backups).--keep flag preserves temp files for post-mortems.
Tradeoffs: Only works with Spatie backups; no file restoration or multi-tenancy support.
Next Steps: Pair with spatie/laravel-backup and test in staging."*How can I help you explore Laravel packages today?