develoopin / laravel-backup
A Laravel package to backup your application
Fund package maintenance!
spatie
spatie.be/open-source/support-us
Requires
- php: ^7.3
- illuminate/console: ^5.8.15|^6.0|^7.0|^8.0
- illuminate/contracts: ^5.8.15|^6.0|^7.0|^8.0
- illuminate/events: ^5.8.15|^6.0|^7.0|^8.0
- illuminate/filesystem: ^5.8.15|^6.0|^7.0|^8.0
- illuminate/notifications: ^5.8.15|^6.0|^7.0|^8.0
- illuminate/support: ^5.8.15|^6.0|^7.0|^8.0
- league/flysystem: ^1.0.49
- spatie/db-dumper: ^2.12
- spatie/temporary-directory: ^1.1
- symfony/finder: ^4.2|^5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- laravel/slack-notification-channel: ^1.0
- league/flysystem-aws-s3-v3: ^1.0
- mockery/mockery: ^1.3
- orchestra/testbench: 3.8.*|4.*|5.*|6.*
- phpunit/phpunit: ^8.4|^9.0
Suggests
- laravel/slack-notification-channel: Required for sending notifications via Slack
- dev-master
- 6.11.12
- 6.11.10
- 6.4.5
- 6.4.4
- 6.4.3
- 6.4.2
- 6.4.1
- 6.4.0
- 6.3.1
- 6.3.0
- 6.2.1
- 6.2.0
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.7
- 6.0.6
- 6.0.5
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- v5.x-dev
- 5.12.1
- 5.12.0
- 5.11.3
- 5.11.2
- 5.11.1
- 5.11.0
- 5.10.1
- 5.10.0
- 5.9.3
- 5.9.2
- 5.9.1
- 5.9.0
- 5.8.0
- 5.7.0
- 5.6.6
- 5.6.5
- 5.6.4
- 5.6.3
- 5.6.2
- 5.6.1
- 5.6.0
- 5.5.1
- 5.5.0
- 5.4.1
- 5.4.0
- 5.3.0
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.5
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.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ev-refactor-tests
This package is auto-updated.
Last update: 2024-10-29 05:53:01 UTC
README
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.
Support us
Learn how to create a package like this one, by watching our premium video course:
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation and usage
This package requires PHP 7.3 and Laravel 5.8 or higher.
You'll find installation instructions and full documentation on https://docs.spatie.be/laravel-backup.
Using an older version of PHP / Laravel?
If you are on a PHP version below 7.3 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, Kruikstraat 22, 2018 Antwerp, Belgium.
We publish all received postcards on our company website.
Credits
License
The MIT License (MIT). Please see License File for more information.