Laravel Packages

Laravel Backup Server v4 Released as Open Source

Published
Laravel Backup Server v4 Released as Open Source image

Spatie has released their Laravel Backup Server package as an open-source Laravel package and released v4.0.0. This package was previously a paid offering until Spatie decided to release the latest version as open source:

We built this package to scratch our own itch, as our age-old and brittle BackupPC installation was a ticking timebomb running on an outdated Ubuntu version. We were stoked about how it shaped up and wanted to build a UI for it—maybe even turn it into a SaaS. Because we were planning to productize it, we didn't want to release it as MIT software at the time. On the other hand, we wanted to make it available in some shape or form, so we released it as a paid package.

Fast forward 5 years and we haven't built a UI, we haven't built a SaaS, and we're not planning to do either any time soon. It's a niche market we don't want to enter, and there are more than enough other ideas floating around and exciting us. At this point, we'd rather have it available in our open source package portfolio.

Package Main Features

  • Comprehensive Server Backups: Backs up multiple servers using the ext3 or ext4 filesystems, common in many Unix-like distributions.
  • Efficient Storage with Deduplication: Employs hard link deduplication to ensure that only changed files consume additional disk space, even though full backups appear in the filesystem.
  • Search Functionality: Allows searching for file names and content within backups, facilitating easy retrieval of specific data.
  • Automated Cleanup of Old Backups: Automatically removes outdated backups to manage storage space effectively.
  • Health Monitoring: Monitors the health of backups, ensuring data integrity and alerting users to potential issues.
  • Notification System: Notifies users of any problems encountered during the backup process, allowing for prompt resolution.
  • And more...

This package requires Laravel v10 or v11, PHP 8.2, a server with rsync (>= v3), and the ext3 or ext4 filesystem. This package is now available on GitHub at spatie/laravel-backup-server, and the documentation is a good place to get familiar with this package.

Ready to use it? Install it in Laravel with Composer:

composer require spatie/laravel-backup-server
Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Securing Filament plugins with Plumb image

Securing Filament plugins with Plumb

Read article
LayaPHP: Self-Hosted Text Classification for PHP and Laravel image

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Read article
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article