PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FIX (s3): Do not allow to change prefix after creation
Rostislav Duginda95bbb1788e
diff --git a/frontend/src/features/storages/ui/edit/storages/EditS3StorageComponent.tsx b/frontend/src/features/storages/ui/edit/storages/EditS3StorageComponent.tsxindex c3ab2367..79436ab5 100644--- a/frontend/src/features/storages/ui/edit/storages/EditS3StorageComponent.tsx+++ b/frontend/src/features/storages/ui/edit/storages/EditS3StorageComponent.tsx@@ -183,13 +183,16 @@ export function EditS3StorageComponent({ storage, setStorage, setUnsaved }: Propsize="small"className="w-full max-w-[250px]"placeholder="my-prefix/ (optional)"+ // we do not allow to change the prefix after creation,+ // otherwise we will have to migrate all the data to the new prefix+ disabled={!!storage.id}/><TooltipclassName="cursor-pointer"- title="Optional prefix for all object keys (e.g., 'backups/' or 'my_team/'). May not work with some S3-compatible storages."+ title="Optional prefix for all object keys (e.g., 'backups/' or 'my_team/'). May not work with some S3-compatible storages. Cannot be changed after creation (otherwise backups will be lost).">- <InfoCircleOutlined className="ml-2" style={{ color: 'gray' }} />+ <InfoCircleOutlined className="ml-4" style={{ color: 'gray' }} /></Tooltip></div></div>