@script @endscript
Restoring a backup is destructive. Review the source and import command before continuing.
@if ($resourceDbType === 'standalone-postgresql') @if ($dumpAll) @else @endif @elseif ($resourceDbType === 'standalone-mysql') @if ($dumpAll) @else @endif @elseif ($resourceDbType === 'standalone-mariadb') @if ($dumpAll) @else @endif @endif
@if (count($availableS3Storages) > 0) @endif
{{-- File Restore Section --}} @can('update', $this->resource)
Check file
or upload
@csrf

Restore from file This will:
  • Copy backup file to database container
  • Execute restore command

All existing data will be replaced.

@endcan {{-- S3 Restore Section --}} @if (count($availableS3Storages) > 0) @can('update', $this->resource) @php $s3StorageOptions = collect($availableS3Storages) ->map(fn ($storage) => [ 'value' => $storage['id'], 'label' => $storage['name'] .($storage['description'] ? ' - '.$storage['description'] : ''), ]) ->values() ->all(); @endphp
Check file
@if ($s3FileSize)

{{ $s3Path }}

{{ formatBytes($s3FileSize ?? 0) }}

Restore from S3 This will:
  • Download backup from S3 storage
  • Copy file into database container
  • Execute restore command

All existing data will be replaced.

@endif
@endcan @endif
Database Restore Output