PHPackages                             revolution/sail-db-backup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. revolution/sail-db-backup

ActiveLibrary[Database &amp; ORM](/categories/database)

revolution/sail-db-backup
=========================

Backup Sail's Database

3.2.0(2mo ago)753.9k↓28.9%1[1 issues](https://github.com/invokable/sail-db-backup/issues)MITPHPPHP ^8.3CI passing

Since Jul 1Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/invokable/sail-db-backup)[ Packagist](https://packagist.org/packages/revolution/sail-db-backup)[ GitHub Sponsors](https://github.com/invokable)[ RSS](/packages/revolution-sail-db-backup/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (15)Used By (0)

Backup Sail's Database
======================

[](#backup-sails-database)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Laravel &gt;= 12.0

Installation
------------

[](#installation)

```
composer require revolution/sail-db-backup --dev
```

### Uninstall

[](#uninstall)

```
composer remove revolution/sail-db-backup --dev
```

No config file.

Usage
-----

[](#usage)

Be sure to run the command in Sail.

```
vendor/bin/sail art sail:backup:mysql
```

The SQL file will be saved in `.backup/mysql_backup`.(Same as Homestead)

If you want to change the `mysql_backup`

```
sail art sail:backup:mysql --path=database/backup
```

### Select Database connection

[](#select-database-connection)

```
sail art sail:backup:mysql --connection=mysql2
```

Global .gitignore
-----------------

[](#global-gitignore)

Recommend exclusion in global .gitignore

```
.backup

```

LICENSE
-------

[](#license)

MIT

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 85.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~141 days

Recently: every ~183 days

Total

13

Last Release

86d ago

Major Versions

1.x-dev → 2.0.02023-02-26

2.x-dev → 3.0.02024-03-29

PHP version history (5 changes)1.0.0PHP ^7.4||^8.0

1.2.0PHP ^8.0

2.0.0PHP ^8.1

3.1.0PHP ^8.2

3.2.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77618633?v=4)[Revolution](/maintainers/revolution)[@Revolution](https://github.com/Revolution)

---

Top Contributors

[![kawax](https://avatars.githubusercontent.com/u/1502086?v=4)](https://github.com/kawax "kawax (29 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (4 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (1 commits)")

---

Tags

laraveldatabasebackupsail

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/revolution-sail-db-backup/health.svg)

```
[![Health](https://phpackages.com/badges/revolution-sail-db-backup/health.svg)](https://phpackages.com/packages/revolution-sail-db-backup)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[cornford/backup

An easy way backup and restore databases in Laravel.

4225.6k](/packages/cornford-backup)[sarfraznawaz2005/backupmanager

laravel package to backup/restore files and database.

313.7k](/packages/sarfraznawaz2005-backupmanager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
