diff --git a/press/press/doctype/press_settings/press_settings.json b/press/press/doctype/press_settings/press_settings.json index cdae422bb2..72b8bb81a8 100644 --- a/press/press/doctype/press_settings/press_settings.json +++ b/press/press/doctype/press_settings/press_settings.json @@ -54,8 +54,9 @@ "backups_tab", "offsite_backups_section", "backup_region", - "offsite_backups_provider", "aws_s3_bucket", + "offsite_backups_endpoint", + "offsite_backups_provider", "data_40", "backup_rotation_scheme", "column_break_35", @@ -1239,11 +1240,16 @@ "fieldname": "remote_uploads_endpoint", "fieldtype": "Data", "label": "Uploads Bucket Endpoint" + }, + { + "fieldname": "offsite_backups_endpoint", + "fieldtype": "Data", + "label": "Bucket Endpoint" } ], "issingle": 1, "links": [], - "modified": "2024-09-17 14:32:09.101920", + "modified": "2024-09-17 14:34:29.496884", "modified_by": "Administrator", "module": "Press", "name": "Press Settings", diff --git a/press/press/doctype/press_settings/press_settings.py b/press/press/doctype/press_settings/press_settings.py index 5841b0a878..6725675e4c 100644 --- a/press/press/doctype/press_settings/press_settings.py +++ b/press/press/doctype/press_settings/press_settings.py @@ -97,6 +97,7 @@ class PressSettings(Document): ngrok_auth_token: DF.Data | None offsite_backups_access_key_id: DF.Data | None offsite_backups_count: DF.Int + offsite_backups_endpoint: DF.Data | None offsite_backups_provider: DF.Literal["AWS S3"] offsite_backups_secret_access_key: DF.Password | None plausible_api_key: DF.Password | None