feat: add scheduled daily backup, stored backup listing and download

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
GuavaPopper
2026-06-04 14:51:07 +07:00
parent 1535c75138
commit f77fc725a8
6 changed files with 146 additions and 2 deletions
+3
View File
@@ -2,7 +2,10 @@
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
Schedule::command('backup:database')->daily()->appendOutputTo(storage_path('logs/backup.log'));