A Laravel package to backup your application on GitHub
Actually, I didn't want to make it as a (public) package. So I kept everything short and simple in this readme.
This package create a backup via Git.
In the default configuration, Laravel
storage/app folder uses for backup include a dump of
mysql database connection. In this case, the Backup Git repository is located in the
To change the configuration publish the config/git-backup.php file via command line:
php artisan vendor:publish --provider="NormanHuth\LaravelGitBackup\ServiceProvider"
php artisan git:backup:run
For example use Laravel Task Scheduling
Don't forget to configure global Git settings
git config --global user.email "email@example.com" git config --global user.name "Your Name"