@extends('layouts.admin') @section('title', 'Backup Details') @section('content')

Backup Details

{{ $backup->name }}

@if($backup->status === 'completed' && $backup->fileExists()) Download @endif Back to Backups
Backup Information
Name:
{{ $backup->name }}
@if($backup->description)
Description:
{{ $backup->description }}
@endif
Status:
{{ ucfirst(str_replace('_', ' ', $backup->status)) }}
Type:
{{ ucfirst($backup->type) }}
Filename:
{{ $backup->filename }} @if($backup->compressed) Compressed @endif
@if($backup->status === 'completed')
File Size:
{{ $backup->formatted_file_size }}
File Exists:
@if($backup->fileExists()) Yes @else No (File not found) @endif
@endif
Created:
{{ $backup->created_at->format('F d, Y \a\t H:i:s') }} ({{ $backup->created_at->diffForHumans() }})
@if($backup->started_at)
Started:
{{ $backup->started_at->format('F d, Y \a\t H:i:s') }}
@endif @if($backup->completed_at)
Completed:
{{ $backup->completed_at->format('F d, Y \a\t H:i:s') }}
@endif @if($backup->duration)
Duration:
{{ $backup->duration }}
@endif
Created By:
{{ $backup->creator->name ?? 'System' }}
@if($backup->error_message)
Error:
{{ $backup->error_message }}
@endif
@if($backup->tables_included)
Tables Included ({{ count($backup->tables_included) }})
@foreach($backup->tables_included as $table)
{{ $table }}
@endforeach
@endif @if($backup->metadata)
Additional Metadata
{{ json_encode($backup->metadata, JSON_PRETTY_PRINT) }}
@endif
Actions
@if($backup->status === 'completed' && $backup->fileExists())
Download Backup
@csrf @method('DELETE')
@elseif($backup->status === 'failed')
This backup failed and cannot be used for restore.
@csrf @method('DELETE')
@elseif($backup->status === 'in_progress')
This backup is currently in progress.
@else
This backup is pending.
@endif
@if($backup->status === 'completed')
File Information
Full Path:
{{ $backup->file_path }}
@if($backup->fileExists())
File Size:
{{ $backup->formatted_file_size }}
Compression:
@if($backup->compressed) Compressed @else Uncompressed @endif
@else
Backup file not found on disk
@endif
@endif
@endsection