# spatie/laravel-backup

A package to backup your Laravel app

Repository: https://github.com/spatie/laravel-backup
Canonical: https://ross.abutalabs.com/products/laravel-backup
Homepage: https://spatie.be/docs/laravel-backup
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, php, backup, database, zip, devops
Last push: 2026-08-20T12:09:20+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 4215, "days_push": 13, "days_rel": 13, "gap_med": 9.5, "n_releases_24m": 35}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6019, forks 785 (observed 2026-08-28T04:09:34.322471+00:00)

## What it is
A Laravel package that creates zip backups of your application's files and database dumps, storing them on any configured Laravel filesystem, including multiple destinations at once. It also monitors backup health, sends notifications on failures, and cleans up old backups.

## Use cases
- back up a Laravel app's files and database
- schedule automated database dumps and file backups
- send backups to S3 and local disk simultaneously
- get notified when a backup fails
- clean up old backups to save disk space
- monitor the health of my backups

## When to choose
- you run a Laravel application and need reliable file plus database backups
- you want backups pushed to multiple filesystems with notifications and cleanup built in

## When to avoid
- your project is not built on Laravel or PHP
- you need to back up many remote servers rather than a single app (see laravel-backup-server)
- you need a restore tool - use wnx/laravel-backup-restore alongside it

## Facets
- artifact type: library
- maturity: stable
- function: backup, database, monitoring, alerting, scheduling, cli
- domain: databases, self-hosted, developer-tools
- platform: php, cli, self-hosted, cross-platform
- tags: laravel, zip, filesystems, artisan-commands, backup-monitoring, spatie, devops

## Member repositories
- spatie/laravel-backup (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.322471+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:44.976351+00:00, confidence not recorded.
  - readme: https://github.com/spatie/laravel-backup (fetched 2026-08-28T04:09:34.322471+00:00, sha 029784caca82)
  - homepage: https://spatie.be/docs/laravel-backup (fetched 2026-08-29T08:45:49.728000+00:00, sha 56d465e1861b)
  - site_page: https://spatie.be/docs (fetched 2026-08-29T08:45:49.737556+00:00, sha 08e024d86d95)
  - site_page: https://spatie.be/about-us (fetched 2026-08-29T08:45:49.739888+00:00, sha d3cb88e4b34c)
  - site_page: https://spatie.be/docs/laravel-backup/v10 (fetched 2026-08-29T08:45:49.741508+00:00, sha 5e8f4a6b5a4c)
  - site_page: https://spatie.be/docs/laravel-backup/v9 (fetched 2026-08-29T08:45:49.744090+00:00, sha 4d9ab1781af5)
  - site_page: https://spatie.be/docs/laravel-backup/v8 (fetched 2026-08-29T08:45:49.745688+00:00, sha e5f850b4533b)
  - site_page: https://spatie.be/docs/laravel-backup/v7 (fetched 2026-08-29T08:45:49.747308+00:00, sha 930442c2b134)
  - site_page: https://spatie.be/docs/laravel-backup/v6 (fetched 2026-08-29T08:45:49.748748+00:00, sha a9c8da955244)
  - site_page: https://spatie.be/docs/laravel-backup/v5 (fetched 2026-08-29T08:45:49.750227+00:00, sha 606c671bac20)
- Data as of 2026-08-30T08:39:29.467469+00:00.
