fix(backups): validate S3 storage before backup scheduling

Prevent scheduled database backups from enabling S3 uploads without a valid team-owned storage configuration, and preserve the previous S3 storage ID in missing-storage error messages.

Add coverage for backup edit/create validation and S3 upload failure messaging.
This commit is contained in:
Andras Bacsai
2026-05-23 13:06:36 +02:00
parent a49bc5dd14
commit a4d75ff0e2
8 changed files with 256 additions and 6 deletions
+1
View File
@@ -15,6 +15,7 @@ class S3Storage extends BaseModel
use HasFactory, HasSafeStringAttribute;
protected $fillable = [
'team_id',
'name',
'description',
'region',