$execution->status === 'running',
'border-error' => $execution->status === 'failed',
'border-success' => $execution->status === 'success',
])>
@if ($execution->status === 'running')
@endif
$execution->status === 'running',
'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-200' => $execution->status === 'failed',
'bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-200' => $execution->status === 'success' && $execution->s3_uploaded === false,
'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200' => $execution->status === 'success' && $execution->s3_uploaded !== false,
])>
@if ($execution->status === 'running')
In Progress
@elseif ($execution->status === 'success' && $execution->s3_uploaded === false)
Success (S3 Warning)
@else
{{ ucfirst($execution->status) }}
@endif
@if ($execution->status === 'running')
Running for {{ calculateDuration($execution->created_at, now()) }}
@else
@php
$finishedAt = $execution->finished_at ?? $execution->updated_at;
@endphp
{{ $finishedAt->diffForHumans() }}
({{ calculateDuration($execution->created_at, $finishedAt) }})
• {{ $finishedAt->format('M j, H:i') }}
@endif
• {{ $backup->targetType() }}: {{ $backup->targetName() }}
@if ($execution->size > 0)
• Size: {{ formatBytes($execution->size) }}
@endif
Location: {{ $execution->filename ?? 'N/A' }}
Backup Availability:
!$execution->local_storage_deleted,
'bg-gray-100 text-gray-600 dark:bg-gray-800/50 dark:text-gray-400' => $execution->local_storage_deleted,
])>
@if (!$execution->local_storage_deleted)
@else
@endif
Local Storage
@if ($execution->s3_uploaded !== null)
$execution->s3_uploaded === false && !$execution->s3_storage_deleted,
'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200' => $execution->s3_uploaded === true && !$execution->s3_storage_deleted,
'bg-gray-100 text-gray-600 dark:bg-gray-800/50 dark:text-gray-400' => $execution->s3_storage_deleted,
])>
@if ($execution->s3_uploaded === true && !$execution->s3_storage_deleted)
@else
@endif
S3 Storage
@endif
@if ($execution->message)
{{ $execution->message }}
@endif
@if ($execution->status !== 'running')
@if ($execution->status === 'success' && !$execution->local_storage_deleted)
Download
@endif
@php
$executionCheckboxes = [];
$deleteActions = [];
if (!$execution->local_storage_deleted) {
$deleteActions[] = 'This backup will be permanently deleted from local storage.';
}
if ($execution->s3_uploaded === true && !$execution->s3_storage_deleted) {
$executionCheckboxes[] = ['id' => 'delete_backup_s3', 'label' => 'Delete the selected backup permanently from S3 Storage'];
}
if (empty($deleteActions)) {
$deleteActions[] = 'This backup execution record will be deleted.';
}
@endphp
Delete
@endif
No executions found.