This is the documentation for
v4 but the latest version is
You can switch versions in the menu on the left/at the top.
Check your current version with the following command:
composer show spatie/laravel-backup
This Laravel package creates a backup of your application. The backup is a zipfile 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? Don't be! You can backup your application to multiple filesystems at once.
Once installed, making a backup of your files and databases is very easy. Just run this artisan command:
php artisan backup:run
In addition to making the backup, the package can also clean up old backups, monitor the health of the backups, and show an overview of all backups.
##Using an older version of PHP / Laravel ?
If you're not on PHP 7 or Laravel 5.3 just use version 3 of this package.
Just issue this command:
composer require "spatie/laravel-backup:^3.0.0"
Read the extensive documentation on version 3 to learn how to set up and use the package.
We won't introduce new features to v3 anymore but we will still fix bugs.
##We have badges!