Backup de banco de dados e arquivos Laravel
composer require spatie/laravel-backup
Tyagi420
composer require spatie/laravel-backup
// app/Console/Kernel.php
protected function schedule(Schedule $schedule)
{
$schedule->command('backup:clean')->daily()->at('01:00');
$schedule->command('backup:run')->daily()->at('01:30');
}
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"