Skip to content
A package to backup your Laravel app
Branch: master
Clone or download
Latest commit cc37760 Jul 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Jul 12, 2019
config Add example on how to use useSingleTransaction to avoid locking DB's (#… Jun 11, 2019
docs Fix link to current version of documentation (#935) Jul 11, 2019
resources/lang Fix typo in zh-TW backup notification (#936) Jul 16, 2019
src Apply fixes from StyleCI (#930) Jul 1, 2019
tests Add support to add custom dumpers to DbDumperFactory (#900) Apr 25, 2019
.editorconfig initial commit v3 Jan 30, 2016
.gitattributes Adding .styleci.yml to the .gitattributes (#579) Nov 26, 2017
.gitignore ignore result cache Aug 4, 2018
.scrutinizer.yml initial commit v3 Jan 30, 2016
.styleci.yml Add compatibility with Laravel 5.5 (#511) Aug 30, 2017
.travis.yml update travis Apr 2, 2019
CHANGELOG.md Update CHANGELOG.md Jul 16, 2019
CONTRIBUTING.md fix permissions Feb 2, 2017
LICENSE.md Readme and License symbol updates (#546) Oct 10, 2017
README.md Update badge alt text (#923) Jun 14, 2019
UPGRADING.md Update UPGRADING.md Feb 27, 2019
composer.json use specific helpers Feb 27, 2019
phpunit.xml.dist

README.md

A modern backup solution for Laravel apps

Latest Stable Version MIT Licensed Build Status Quality Score StyleCI Total Downloads

This Laravel package creates a backup of your application. The backup is a zip file that contains all files in the directories you specify along with a dump of your database. The backup can be stored on any of the filesystems you have configured in Laravel 5.

Feeling paranoid about backups? No problem! You can backup your application to multiple filesystems at once.

Once installed taking a backup of your files and databases is very easy. Just issue this artisan command:

php artisan backup:run

But we didn't stop there. The package also provides a backup monitor to check the health of your backups. You can be notified via several channels when a problem with one of your backups is found. To avoid using excessive disk space, the package can also clean up old backups.

Spatie is a web design agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Installation and usage

This package requires PHP 7.2 and Laravel 5.8 or higher.
You'll find installation instructions and full documentation on https://docs.spatie.be/laravel-backup/v6.

Using an older version of PHP / Laravel?

If you are on a PHP version below 7.2 or a Laravel version below 5.8 just use an older version of this package.

Read the extensive documentation on version 3, on version 4 and on version 5. We won't introduce new features to v5 and below anymore but we will still fix bugs.

Testing

Run the tests with:

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email freek@spatie.be instead of using the issue tracker.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

Support us

Spatie is a web design agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

License

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

You can’t perform that action at this time.