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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article