diff --git a/app/Http/Livewire/Project/Database/BackupEdit.php b/app/Http/Livewire/Project/Database/BackupEdit.php
index c802bf202..b73682943 100644
--- a/app/Http/Livewire/Project/Database/BackupEdit.php
+++ b/app/Http/Livewire/Project/Database/BackupEdit.php
@@ -13,11 +13,13 @@ class BackupEdit extends Component
'backup.enabled' => 'required|boolean',
'backup.frequency' => 'required|string',
'backup.number_of_backups_locally' => 'required|integer|min:1',
+ 'backup.save_s3' => 'required|boolean',
];
protected $validationAttributes = [
'backup.enabled' => 'Enabled',
'backup.frequency' => 'Frequency',
'backup.number_of_backups_locally' => 'Number of Backups Locally',
+ 'backup.save_s3' => 'Save to S3',
];
public function mount()
@@ -25,6 +27,7 @@ class BackupEdit extends Component
$this->parameters = get_route_parameters();
}
+
public function delete()
{
// TODO: Delete backup from server and add a confirmation modal
diff --git a/resources/views/livewire/project/database/backup-executions.blade.php b/resources/views/livewire/project/database/backup-executions.blade.php
index 930ea4831..1342b3997 100644
--- a/resources/views/livewire/project/database/backup-executions.blade.php
+++ b/resources/views/livewire/project/database/backup-executions.blade.php
@@ -16,7 +16,7 @@