Refactor + package updates + improve local backups

This commit is contained in:
Andras Bacsai
2023-08-10 15:52:54 +02:00
parent d2a4dbf283
commit e17f1935d2
30 changed files with 757 additions and 366 deletions

View File

@@ -1,10 +1,11 @@
<div class="flex flex-wrap gap-2">
@forelse($database->scheduledBackups as $backup)
<div class="box flex flex-col">
<a class="box flex flex-col"
href="{{ route('project.database.backups.logs', [...$parameters,'backup_uuid'=> $backup->uuid]) }}">
<div>Frequency: {{$backup->frequency}}</div>
<div>Keep locally: {{$backup->keep_locally}}</div>
<div>Sync to S3: {{$backup->save_s3}}</div>
</div>
<div>Last backup: {{data_get($backup->latest_log, 'status','No backup yet')}}</div>
<div>Number of backups to keep (locally): {{$backup->number_of_backups_locally}}</div>
</a>
@empty
<div>No scheduled backups configured.</div>
@endforelse