Files
coolify/resources/views/livewire/project/database/create-scheduled-backup.blade.php
Andras Bacsai c0b75d04a6 feat(service): unify database and storage backups on one page
List service database schedules with volume backups, add a database
picker when creating scheduled DB backups from the service page, and
cover the unified table and create flow in tests.
2026-08-08 00:12:56 +02:00

18 lines
876 B
PHP

<form class="application-settings-form flex w-full flex-col gap-4" wire:submit="submit">
@if ($service)
<x-forms.listbox id="selectedDatabaseUuid" label="Database" :options="$databaseOptions"
empty-text="No databases in this service support scheduled backups." required />
@error('selectedDatabaseUuid')
<p class="text-xs text-error">{{ $message }}</p>
@enderror
@endif
<x-forms.input placeholder="0 0 * * * or daily" id="frequency"
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." label="Frequency"
required />
<div class="flex justify-end border-t border-neutral-200 pt-4 dark:border-white/[0.08]">
<x-forms.button type="submit" @click="modalOpen=false" isHighlighted>
Add schedule
</x-forms.button>
</div>
</form>