This is the documentation for
v6 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. The package can also notify you via Mail, Slack or any notification provider when something goes wrong with your backups.
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.
If you need to backup multiple servers, take a look at our laravel-backup-server package.
##We have badges!