PHPackages                             sprintwindy/backupmanager - 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. [Admin Panels](/categories/admin)
4. /
5. sprintwindy/backupmanager

ActiveLibrary[Admin Panels](/categories/admin)

sprintwindy/backupmanager
=========================

Admin interface for managing backups in Backpack, on Laravel 5.2+

01PHP

Since Feb 2Pushed 1y agoCompare

[ Source](https://github.com/sprintwindy/BackupManager)[ Packagist](https://packagist.org/packages/sprintwindy/backupmanager)[ RSS](/packages/sprintwindy-backupmanager/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Backpack\\BackupManager
=======================

[](#backpackbackupmanager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fcaa4799314caeb03e33002c88b1af76b938e1c9a70a4a6b25e2043425a04e8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261636b7061636b2f6261636b75706d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/backupmanager)[![Software License](https://camo.githubusercontent.com/5a202d5327ab4ae3bf5cc50fcfa3d2f0823d818a4f115a027d8176dcb996c4d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d6475616c2d626c75653f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/9974b5f249fae7785757eb3879af4c69b0a5ef73d80dbd701197879a0e1efb6f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6261636b7061636b2f6261636b75706d616e616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-backpack/backupmanager)[![Coverage Status](https://camo.githubusercontent.com/f807ab067bd1f72b64de8e5c0850e34434496869913f9cd3e88c97c28278ed40/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6261636b7061636b2f6261636b75706d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-backpack/backupmanager/code-structure)[![Quality Score](https://camo.githubusercontent.com/0dbf095401e6cb585662f7dba5daee1d3052676856aa84034dc8fc26ebdd5214/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6261636b7061636b2f6261636b75706d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-backpack/backupmanager)[![Style CI](https://camo.githubusercontent.com/d0681d42a83e54310612ca37268ba5eeb717ce25df91dab1f21737fdf58bfc92/68747470733a2f2f7374796c6563692e696f2f7265706f732f35333935363539342f736869656c64)](https://styleci.io/repos/53956594)[![Total Downloads](https://camo.githubusercontent.com/ecca3799ca9da6abc4557a1084b97ad6b6fca1515290b4bf6193f0edfcb8400a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261636b7061636b2f6261636b75706d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/backupmanager)

An admin interface for [spatie/laravel-backup](https://github.com/spatie/laravel-backup). Allows the admin to easily manage backups (download and delete). Used in the Backpack package, on Laravel 5.2+ to 9.

> ### Security updates and breaking changes
>
> [](#security-updates-and-breaking-changes)
>
> Please **[subscribe to the Backpack Newsletter](http://backpackforlaravel.com/newsletter)** so you can find out about any security updates, breaking changes or major features. We send an email 2 times/year, max.

[![Backpack\BackupManager screenshot](https://user-images.githubusercontent.com/1032474/161931994-dc044bb2-a459-4863-9262-ed91f3e5e35b.gif)](https://user-images.githubusercontent.com/1032474/161931994-dc044bb2-a459-4863-9262-ed91f3e5e35b.gif)

Install
-------

[](#install)

1. In your terminal:

```
# Install the package
composer require backpack/backupmanager

# Publish the backup and backupmanager configs and lang files:
php artisan vendor:publish --provider="Backpack\BackupManager\BackupManagerServiceProvider" --tag=backup-config --tag=lang

# [optional] Add a menu item for it
# For Backpack v6
php artisan backpack:add-menu-content ""
# For Backpack v5 or v4
php artisan backpack:add-sidebar-content " Backups"
```

2. \[optional\] Instruct Laravel to run the backups automatically in your console kernel:

```
// app/Console/Kernel.php

protected function schedule(Schedule $schedule)
{
    // if you are not using notifications you should add the `--disable-notifications` flag to this commands
    $schedule->command('backup:clean')->daily()->at('04:00');
    $schedule->command('backup:run')->daily()->at('05:00');
}
```

3. Check that it works

If the "unknown error" yellow bubble is thrown and you see the "*Backup failed because The dump process failed with exitcode 127 : Command not found.*" error in the log file, either mysqldump / pg\_dump is not installed or you need to specify its location. You can do that in your `config/database.php` file, where you define your database credentials, by adding the dump variables. Here's an example:

```
'mysql' => [
    'driver'            => 'mysql',
    'host'              => env('DB_HOST', 'localhost'),
    'database'          => env('DB_DATABASE', 'forge'),
    'username'          => env('DB_USERNAME', 'forge'),
    'password'          => env('DB_PASSWORD', ''),
    'charset'           => 'utf8',
    'collation'         => 'utf8_unicode_ci',
    'prefix'            => '',
    'strict'            => false,
    'engine'            => null,
    'dump' => [

        'dump_binary_path' => '/path/to/directory/', // only the path, without `mysqldump` or `pg_dump`
        // 'dump_binary_path' => '/Applications/MAMP/Library/bin/', // works for MAMP on Mac OS
        // 'dump_binary_path' => '/opt/homebrew/bin/', // works for Laravel Valet on Mac OS
        'use_single_transaction',
        'timeout' => 60 * 5, // 5 minute timeout
        // 'exclude_tables' => ['table1', 'table2'],
        // 'add_extra_option' => '--optionname=optionvalue',
    ]
],
```

Usage
-----

[](#usage)

This should be a point-and-click interface where you can create and download backups at any time.

Try at **your-project-domain/admin/backup**

Configuration &amp; Troubleshooting
-----------------------------------

[](#configuration--troubleshooting)

For additional configuration (eg. notifications):

- publish the spatie backup file `php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider" --tag="backup-config"`
- see the [spatie/laravel-backup documentation](https://spatie.be/docs/laravel-backup/v8/installation-and-setup) on how to configure your backup system in `config/backup.php`; **it is higly recommended that you at least [configure the notifications](https://spatie.be/docs/laravel-backup/v8/sending-notifications/overview)**;
- see `config/backpack/backupmanager.php` for configurating how the backup is run from the interface; by default, it does `backup:run --disable-notifications`, but after you've configured notifications, you can remove that flag (or add others);

**\[TIP\]** When you modify your options in `config/backup.php` or `config/backpack/backupmanager.php`, please run manually `php artisan backup:run` to make sure it's still working after your changes. **NOTE**: `php artisan optimize:clear` and/or `php artisan config:clear` might be needed before the `backup:run` command.

Upgrading
---------

[](#upgrading)

Please see the [upgrade guides](UPGRADE_GUIDES.md) to get:

- from v3 to v4 (new!)
- from v2 to v3
- from 1.2.x to 1.3.x
- from 1.1.x to 1.2.x

Change log
----------

[](#change-log)

Please see the [releases page](https://github.com/Laravel-Backpack/BackupManager/releases/) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Overwriting Functionality
-------------------------

[](#overwriting-functionality)

If you need to modify how this works in a project:

- create a `routes/backpack/backupmanager.php` file; the package will see that, and load *your* routes file, instead of the one in the package;
- create controllers/models that extend the ones in the package, and use those in your new routes file;
- modify anything you'd like in the new controllers/models;

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Please **[subscribe to the Backpack Newsletter](http://backpackforlaravel.com/newsletter)** so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

Credits
-------

[](#credits)

- [Cristian Tabacitu](https://github.com/tabacitu)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see License File for more information.

Hire us
-------

[](#hire-us)

We've spend more than 10.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels *so much*, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.

If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience &amp; enthusiasm for this. This is *what we do*. [Contact us - let's see if we can work together](https://backpackforlaravel.com/need-freelancer-or-development-team).

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75.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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/110966360?v=4)[Zino](/maintainers/sprintwindy)[@sprintwindy](https://github.com/sprintwindy)

---

Top Contributors

[![tabacitu](https://avatars.githubusercontent.com/u/1032474?v=4)](https://github.com/tabacitu "tabacitu (223 commits)")[![promatik](https://avatars.githubusercontent.com/u/1838187?v=4)](https://github.com/promatik "promatik (12 commits)")[![pxpm](https://avatars.githubusercontent.com/u/7188159?v=4)](https://github.com/pxpm "pxpm (12 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (6 commits)")[![Mombuyish](https://avatars.githubusercontent.com/u/8007787?v=4)](https://github.com/Mombuyish "Mombuyish (4 commits)")[![mariovillani](https://avatars.githubusercontent.com/u/3393945?v=4)](https://github.com/mariovillani "mariovillani (3 commits)")[![justinmoh](https://avatars.githubusercontent.com/u/11174621?v=4)](https://github.com/justinmoh "justinmoh (3 commits)")[![sprintwindy](https://avatars.githubusercontent.com/u/110966360?v=4)](https://github.com/sprintwindy "sprintwindy (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![den1n](https://avatars.githubusercontent.com/u/25498109?v=4)](https://github.com/den1n "den1n (2 commits)")[![vincenzoraco](https://avatars.githubusercontent.com/u/5623078?v=4)](https://github.com/vincenzoraco "vincenzoraco (2 commits)")[![vonsogt](https://avatars.githubusercontent.com/u/35516476?v=4)](https://github.com/vonsogt "vonsogt (2 commits)")[![karandatwani92](https://avatars.githubusercontent.com/u/8214221?v=4)](https://github.com/karandatwani92 "karandatwani92 (2 commits)")[![dandarie](https://avatars.githubusercontent.com/u/9036450?v=4)](https://github.com/dandarie "dandarie (2 commits)")[![pavlentij](https://avatars.githubusercontent.com/u/971128?v=4)](https://github.com/pavlentij "pavlentij (2 commits)")[![shuxx](https://avatars.githubusercontent.com/u/1872781?v=4)](https://github.com/shuxx "shuxx (2 commits)")[![chancezeus](https://avatars.githubusercontent.com/u/2089196?v=4)](https://github.com/chancezeus "chancezeus (2 commits)")[![zymawy](https://avatars.githubusercontent.com/u/15253683?v=4)](https://github.com/zymawy "zymawy (1 commits)")[![claudsonm](https://avatars.githubusercontent.com/u/4139808?v=4)](https://github.com/claudsonm "claudsonm (1 commits)")[![enniosousa](https://avatars.githubusercontent.com/u/8731370?v=4)](https://github.com/enniosousa "enniosousa (1 commits)")

### Embed Badge

![Health badge](/badges/sprintwindy-backupmanager/health.svg)

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

PHPackages © 2026

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