diff --git a/app/Livewire/Project/Database/BackupEdit.php b/app/Livewire/Project/Database/BackupEdit.php index 012c6bb24..0d363e983 100644 --- a/app/Livewire/Project/Database/BackupEdit.php +++ b/app/Livewire/Project/Database/BackupEdit.php @@ -210,7 +210,7 @@ class BackupEdit extends Component return view('livewire.project.database.backup-edit', [ 'checkboxes' => [ ['id' => 'delete_associated_backups_locally', 'label' => __('database.delete_backups_locally')], - ['id' => 'delete_associated_backups_s3', 'label' => 'All backups associated with this backup job for this database will be permanently deleted from the selected S3 Storage.'], + ['id' => 'delete_associated_backups_s3', 'label' => 'All backups will be permanently deleted (associated with this backup job) from the selected S3 Storage.'], // ['id' => 'delete_associated_backups_sftp', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from the selected SFTP Storage.'] ], ]); diff --git a/resources/views/livewire/project/database/backup-edit.blade.php b/resources/views/livewire/project/database/backup-edit.blade.php index f1f604a7d..603983864 100644 --- a/resources/views/livewire/project/database/backup-edit.blade.php +++ b/resources/views/livewire/project/database/backup-edit.blade.php @@ -5,13 +5,17 @@ Save @if (str($status)->startsWith('running')) - + @endif @if ($backup->database_id !== 0) - + ]" + confirmationText="{{ $backup->database->name }}" + confirmationLabel="Please confirm the execution of the actions by entering the Database Name of the scheduled backups below" + shortConfirmationLabel="Database Name" /> @endif
@@ -19,87 +23,96 @@
@if ($backup->save_s3) -
- - - @foreach ($s3s as $s3) - - @endforeach - -
+
+ + + @foreach ($s3s as $s3) + + @endforeach + +
@endif

Settings

@if ($backup->database_type === 'App\Models\StandalonePostgresql' && $backup->database_id !== 0) -
- -
- @if (!$backup->dump_all) - - @endif +
+ +
+ @if (!$backup->dump_all) + + @endif @elseif($backup->database_type === 'App\Models\StandaloneMongodb') - + @elseif($backup->database_type === 'App\Models\StandaloneMysql') -
- -
- @if (!$backup->dump_all) - - @endif +
+ +
+ @if (!$backup->dump_all) + + @endif @elseif($backup->database_type === 'App\Models\StandaloneMariadb') -
- -
- @if (!$backup->dump_all) - - @endif +
+ +
+ @if (!$backup->dump_all) + + @endif @endif
- +

Backup Retention Settings

    -
  • Setting a value to 0 means unlimited retention
  • -
  • The retention rules work independently - whichever limit is reached first will trigger cleanup
  • +
  • Setting a value to 0 means unlimited retention.
  • +
  • The retention rules work independently - whichever limit is reached first will trigger cleanup.

Local Backup Retention

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

S3 Storage Retention

-
- - - +
+

S3 Storage Retention

+
+ + + +
-
@endif