@script @endscript

Import Backup

@if ($unsupported)
Database restore is not supported.
@else
This is a destructive action, existing data will be replaced!
@if (str(data_get($resource, 'status'))->startsWith('running')) @if ($resource->type() === 'standalone-postgresql') @if ($dumpAll) @else
You can add "--clean" to drop objects before creating them, avoiding conflicts. You can add "--verbose" to log more things.
@endif
@elseif ($resource->type() === 'standalone-mysql') @if ($dumpAll) @else @endif
@elseif ($resource->type() === 'standalone-mariadb') @if ($dumpAll) @else @endif
@endif

Backup File

Check File
Or
@csrf
@if ($availableS3Storages->count() > 0)
Or

Restore from S3

@foreach ($availableS3Storages as $storage) @endforeach
Check File
File found in S3 ({{ formatBytes($s3FileSize ?? 0) }})
Download & Prepare for Restore
@if ($s3DownloadInProgress)
Downloading from S3... This may take a few minutes for large backups.
@elseif ($s3DownloadedFile)
File downloaded successfully and ready for restore.
Restore Database from S3 Cancel
@endif
@endif

File Information

Location: /
Restore Backup
@if ($importRunning)
@endif @else
Database must be running to restore a backup.
@endif @endif