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

Create Database Backup

Create a new backup of the database

Back to Dashboard
@if(!empty($requirements))
System Requirements

Please resolve these issues before creating a backup.

@endif
Backup Configuration
@csrf
@error('name')
{{ $message }}
@enderror
A unique name for this backup
@error('description')
{{ $message }}
@enderror
Optional description for this backup
Recommended to save storage space
Cancel
Database Information
Total Tables: {{ count($tables) }}
Database Size: {{ array_sum(array_column($tableSizes, 'size_mb')) }} MB
Total Rows: {{ number_format(array_sum(array_column($tableSizes, 'rows'))) }}
Largest Tables
@foreach(array_slice($tableSizes, 0, 10) as $table)
{{ $table['name'] }} {{ $table['size_mb'] }} MB
@endforeach
@endsection