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.

2.0 KB
Raw Blame
<x-application.settings-section title="Retention"
    description="The first reached limit removes the oldest backup. Use 0 for unlimited retention.">
    <div class="space-y-6">
        <div>
            <h3 class="mb-3 text-sm font-semibold text-black dark:text-fg">Local backups</h3>
            <div class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
                <x-forms.input label="Backups to keep" id="databaseBackupRetentionAmountLocally"
                    type="number" min="0" helper="Maximum number of recent local backups." required />
                <x-forms.input label="Days to keep" id="databaseBackupRetentionDaysLocally"
                    type="number" min="0" helper="Remove local backups older than this many days." required />
                <x-forms.input label="Maximum storage (GB)"
                    id="databaseBackupRetentionMaxStorageLocally" type="number" min="0" step="any"
                    helper="Remove oldest local backups after this total size is reached." required />
            </div>
        </div>

        <div class="border-t border-neutral-200 pt-6 dark:border-white/[0.06]">
            <h3 class="mb-3 text-sm font-semibold text-black dark:text-fg">S3 backups</h3>
            <div class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
                <x-forms.input label="Backups to keep" id="databaseBackupRetentionAmountS3"
                    type="number" min="0" helper="Maximum number of recent S3 backups." required />
                <x-forms.input label="Days to keep" id="databaseBackupRetentionDaysS3"
                    type="number" min="0" helper="Remove S3 backups older than this many days." required />
                <x-forms.input label="Maximum storage (GB)" id="databaseBackupRetentionMaxStorageS3"
                    type="number" min="0" step="any"
                    helper="Remove oldest S3 backups after this total size is reached." required />
            </div>
        </div>
    </div>
</x-application.settings-section>