From e037ed738a344974fe92651b1d90d9e33436b8fa Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:36:41 +0100 Subject: [PATCH] feat: UI for backup retention settings --- .../project/database/backup-edit.blade.php | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/resources/views/livewire/project/database/backup-edit.blade.php b/resources/views/livewire/project/database/backup-edit.blade.php index 59628636d..1f3ee6913 100644 --- a/resources/views/livewire/project/database/backup-edit.blade.php +++ b/resources/views/livewire/project/database/backup-edit.blade.php @@ -72,7 +72,43 @@ - + + +

Backup Retention Settings

+
+

+ These settings control how long backups are kept. +

    +
  • Setting a value to 0 means unlimited retention.
  • +
  • The retention rules work independently and whichever limit is reached first will trigger a cleanup of the older backups.
  • +
+

+
+ +
+
+

Local Backup Retention

+
+ + +
+
+ + @if ($backup->save_s3) +
+

S3 Storage Retention

+
+ + + +
+
+ @endif