@extends('layouts.app') @section('content')
Database Backups
Save SQL backups outside XAMPP so the business data survives if XAMPP fails.
Back to Settings
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Backup Setup

@csrf
Recommended local example: C:\JEVAPOS_BACKUPS or an external drive folder.
Leave blank if the system can find XAMPP automatically.
@if(auth()->user()->hasPermission('settings.backups_create'))
@endif
Last Automatic Backup: {{ $lastAutoBackup ? \Carbon\Carbon::parse($lastAutoBackup,'UTC')->timezone(\App\Models\SystemSetting::timezone())->format('d/m/Y H:i') : 'Not run yet' }}
@if($lastBackupError)@endif
@csrf
Do not store the only backup inside the XAMPP folder. If possible, use a different drive or copy the folder to an external disk/cloud account daily.

Recent Backups

@forelse($backupFiles as $file) @empty @endforelse
File Size Date Action
{{ $file['name'] }} {{ $file['size'] }} {{ $file['modified'] }}
Download
@csrf @method('DELETE')
No backup has been created yet.
@endsection