database dan file cadangan 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"