If you've ever had to restore a Laravel application from a backup, you know the pain. While tools like Spatie's Laravel Backup handle the creation of archives, the restoration of files (uploads, storage, assets) is often a manual, error-prone process.
I built Laravel Backup Complete Restore to bridge this gap.
The Missing Piece: Why I Built This
When disaster struck during the development of ShynDorca, I found myself manually extracting files, mapping container paths, and resetting permissions. It was slow and risky.
Getting Started
Standardize your disaster recovery workflow with these simple steps:
1. Install the package
composer require klytron/laravel-backup-complete-restore
2. List your available backups
php artisan backup:restore-complete --list
3. Restore everything in one go
php artisan backup:restore-complete --disk=s3
Technical Features & Resilience
The core of this package is its intelligent path mapping and safety measures:
- Automatic Path Mapping: Handles the translation of container-stored paths to your current environment's local directories.
- Safety Backups: Automatically backs up existing local files before overwriting them during restoration.
- Health Checks: An extensible system that validates the integrity of the restored database and file structure.
- Multi-Storage Support: Works out of the box with S3, Google Drive, and any Laravel-supported filesystem.