@extends('layouts.app') @section('title', 'System Backups') @section('content')
Create and manage system backups for safe updates
Always create a Full Backup before uploading new updates. This allows you to restore the system if something goes wrong.
| Backup Name | Type | Size | Created | Created By | Actions |
|---|---|---|---|---|---|
|
{{ $backup['name'] }}
@if($backup['notes'])
{{ Str::limit($backup['notes'], 50) }}
@endif
|
@php $typeColors = [ 'full' => 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400', 'database_only' => 'bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400', 'files_only' => 'bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-400', ]; $typeLabels = [ 'full' => 'Full Backup', 'database_only' => 'Database Only', 'files_only' => 'Files Only', ]; @endphp {{ $typeLabels[$backup['type']] ?? $backup['type'] }} | {{ $backup['total_size'] }} | {{ \Carbon\Carbon::parse($backup['created_at'])->format('d M Y H:i') }} | {{ $backup['created_by'] }} |
storage/backups/. Recommended to keep at least 3 recent backups.