PHPackages                             jvizcaya/dbackup - 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. jvizcaya/dbackup

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

jvizcaya/dbackup
================

Create database backup (Only MySQL/MariaDB).

v0.1(5y ago)010MITPHPPHP ^7.1.3

Since Feb 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jvizcaya/dbackup)[ Packagist](https://packagist.org/packages/jvizcaya/dbackup)[ RSS](/packages/jvizcaya-dbackup/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Dbackup (Laravel artisan command to backup database (Only MySQL/MariaDB))
=========================================================================

[](#dbackup-laravel-artisan-command-to-backup-database-only-mysqlmariadb)

**Dbackup** is a simple package for Laravel 5.7+ that add artisan command to backup database.

**Note** This package makes use of the **mysqldump** function through PHP **passthru**. will only work on compatible systems

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

[](#installation)

```
composer require jvizcaya/dbackup

```

We publish the config file if we want to change the storage path of the database backup and other settings.

```
php artisan vendor:publish --provider="Jvizcaya\Dbackup\DbackupServiceProvider"

```

By default the path **storage/app/backup** is used. **Make sure this directory exists** and has the necessary write permissions.

Use mode
--------

[](#use-mode)

```
php artisan dbackup:generate

```

The command saves a database backup in the storage path, and delete the backups older (one week by default)

You can add the command **dbackup:generate** to [Task scheduling](https://laravel.com/docs/8.x/scheduling) to make database backup periodically.

---

License
-------

[](#license)

[MIT](LICENSE) © Jorge Vizcaya |

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1913d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f01b29b53f6763c88249f798602845af303401316a0922a5fea86ce58bcf90b1?d=identicon)[jvizcaya](/maintainers/jvizcaya)

---

Top Contributors

[![jvizcaya](https://avatars.githubusercontent.com/u/15002352?v=4)](https://github.com/jvizcaya "jvizcaya (1 commits)")

---

Tags

laravelbackupmysqlmodel

### Embed Badge

![Health badge](/badges/jvizcaya-dbackup/health.svg)

```
[![Health](https://phpackages.com/badges/jvizcaya-dbackup/health.svg)](https://phpackages.com/packages/jvizcaya-dbackup)
```

###  Alternatives

[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[zara-4/laravel-lazy-mysql

A lazy mysql based Eloquent model and Query builder for Laravel

127.9k](/packages/zara-4-laravel-lazy-mysql)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

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