@extends('layouts.admin') @section('title', 'Database Backup & Restore') @section('content')

Database Backup & Restore

Manage database backups and restore operations

Create Backup Restore Database
@if(!empty($requirements))
System Requirements
@endif
Total Backups
{{ $statistics['total_backups'] }}
Completed Backups
{{ $statistics['completed_backups'] }}
Total Backup Size
{{ number_format($statistics['total_size'] / 1024 / 1024, 2) }} MB
Database Size
{{ number_format($statistics['database_size'], 2) }} MB
Recent Backups
View All Backups
@if($recentBackups->count() > 0)
@foreach($recentBackups as $backup) @endforeach
Name Type Status Size Created Created By Actions
{{ $backup->name }}
@if($backup->description) {{ Str::limit($backup->description, 50) }} @endif
{{ ucfirst($backup->type) }} {{ ucfirst($backup->status) }} {{ $backup->formatted_file_size }} {{ $backup->created_at->format('M d, Y H:i') }} {{ $backup->creator->name ?? 'System' }}
@if($backup->status === 'completed' && $backup->fileExists()) @endif
@csrf @method('DELETE')
@else
No backups found

Create your first database backup to get started.

Create First Backup
@endif
Storage Information
Database Size: {{ number_format($statistics['database_size'], 2) }} MB
Total Backup Size: {{ number_format($statistics['total_size'] / 1024 / 1024, 2) }} MB
Available Space: {{ number_format($statistics['available_space'] / 1024 / 1024 / 1024, 2) }} GB

@endsection