@extends('layouts.app') @section('title', 'Backup Database') @section('content')
{{-- Header --}}

Backup Database

Kelola backup dan restore database aplikasi

@csrf
{{-- Stats Cards --}}

Total Backup

{{ $stats['total_backups'] }}

file tersimpan

Backup Terakhir

{{ $stats['latest_backup'] }}

terbaru

Total Ukuran

{{ $stats['total_size'] }}

semua backup

Ukuran Database

{{ $stats['db_size'] }}

saat ini

{{-- Daftar Backup --}}

Riwayat Backup

Daftar file backup database

@if($backups->count() > 0)
@foreach($backups as $backup) @endforeach
Nama File Ukuran Aksi

{{ $backup->filename }}

{{ $backup->date }}

{{ $backup->size }}
@if($loop->first)
@csrf
@endif
@csrf @method('DELETE')
{{ $backups->count() }} file backup Total {{ $stats['total_size'] }}
@else

Belum Ada Backup

Backup database pertama Anda untuk mengamankan data

@csrf
@endif
{{-- Info Card --}}

Informasi Backup

  • Backup disimpan di storage/app/backups/
  • Format file: .sql.gz (SQL + kompresi Gzip)
  • Restore akan membuat backup otomatis sebelum menjalankan restore
  • Hanya admin yang dapat mengakses fitur ini
  • Pastikan ada cukup ruang penyimpanan di server
@endsection