spatie/laravel-backup-server
Securely store and manage backups from multiple Laravel apps on a dedicated backup server. Built on spatie/laravel-backup, it automatically receives and organizes incoming backups, with setup and docs tailored for Laravel deployments.
rsync and hard links to minimize storage costs for large, frequently updated backups (e.g., media-heavy applications like e-commerce or CMS platforms).laravel-backup for DB-only needs).spatie/laravel-backup or native tools like pg_dump/mysqldump).rsync)."This package lets us consolidate backups for all Laravel services into a single, automated system—reducing storage costs by up to 70% with deduplication and cutting backup-related incidents by 90% through real-time health monitoring. For example, if we’re running 10 Laravel apps with 5TB of shared media files, this would save ~$3,500/year in storage and eliminate the need for 3 FTEs managing ad-hoc backups. It’s a turnkey solution that aligns with our disaster recovery and compliance goals while lowering operational risk."
Key Outcomes:
rsync reduce storage usage.*"This is a batteries-included backup server for Laravel that handles the heavy lifting—scheduling, deduplication, cleanup, and notifications—while letting us customize the workflow. For example, we can:
BackupFailedEvent to PagerDuty).It’s lightweight (MIT-licensed, ~50K LOC) and built by Spatie, so we get enterprise-grade reliability without vendor lock-in. The only trade-off is that it’s SSH-based, so we’d need to ensure our security team approves the setup."*
Tech Deep Dive:
rsync + hard links (no duplicate data for unchanged files).pre_backup_commands (e.g., mysqldump).BackupCompletedEvent/BackupFailedEvent.backup-server:list).Migration Path:
How can I help you explore Laravel packages today?