Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

987 B
Raw Blame
<div class="application-settings-form">
    @if ($unsupported)
        <x-application.settings-section title="Restore database"
            description="Import a backup into this database.">
            <x-empty title="Restore is not supported"
                description="This database type does not currently support backup imports."
                icon-name="database" size="sm" />
        </x-application.settings-section>
    @elseif (str($resourceStatus)->startsWith('running'))
        <livewire:project.database.import-form wire:key="database-import-form-{{ $resourceUuid }}" />
    @else
        <x-application.settings-section title="Restore database"
            description="Import a backup into this database.">
            <x-empty title="Start the database first"
                description="The database must be running before Coolify can restore a backup."
                icon-name="database" size="sm" />
        </x-application.settings-section>
    @endif
</div>