Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel backup

composer require spatie/laravel-backup
//To publish the config file to config/backup.php
php artisan vendor:publish --provider="SpatieBackupBackupServiceProvider"
//Once installed run 
php artisan backup:run
//clean up your backups
php artisan backup:clean
//Determining which backups should be deleted is mention in config/backup.php
 
PREVIOUS NEXT
Tagged: #laravel #backup
ADD COMMENT
Topic
Name
1+3 =