{{-- Restore confirmation — Phase 29. Extra confirmation step (prompt §29). --}} {{-- MERGE FIX 2026-11-13 (coordinator): this view used the x-app-layout component, but no AppLayout component or class exists anywhere, so the page could not render. Converted to the layouts.app pattern every other view uses; the header slot content is now a page header inside the content. --}} @extends('layouts.app') @section('title', __('Restore Backup')) @section('content')

{{ __('Restore Backup') }}

{{ __('Danger: restoring replaces current data') }}

{{ __('You are about to restore backup') }} {{ $backup->filename }} ({{ $backup->type }}, @php $s = (float) $backup->size; $u = ['B','KB','MB','GB']; $i = 0; while ($s >= 1024 && $i < 3) { $s /= 1024; $i++; } echo round($s, 2).' '.$u[$i]; @endphp, {{ __('created') }} {{ $backup->created_at->format('d M Y, h:i A') }}).

{{ __('The current database will be replaced. A safety backup of the current state is created automatically before the restore starts, and this restore is written to the audit log.') }}

{{ __('Never restore on the live database without a fresh backup first.') }}

@csrf
@error('confirmation_phrase')
{{ $message }}
@enderror
{{ __('Cancel') }}
@endsection