@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')
@elseif ($resource->type() === 'standalone-mysql')
@elseif ($resource->type() === 'standalone-mariadb')
@endif
@else
Database must be running to restore a backup.
@endif
@endif