База данных и файлы резервное копирование 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"