Skip to content

Commit

Permalink
EVEREST-883 Added alert for pitr in pg enabled by default (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipmikes1 authored Mar 14, 2024
1 parent c035175 commit b99193b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ const PITRStep = () => {
{Messages.toEnablePitr}
</Alert>
)}
{backupsEnabled && dbType === DbType.Postresql && (
<Alert severity="info" sx={{ mt: 1 }}>
{Messages.pitrPgEnabledByDefault}
</Alert>
)}
<SwitchInput
control={control}
label={Messages.enablePitr}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export const Messages = {
enablePitr: 'Enable PITR',
toEnablePitr:
'To enable PITR, first set up a backup schedule for this database',
pitrPgEnabledByDefault:
'Point-in-time recovery is enabled by default for the PostgreSQL operator and cannot be turned off.',
captionPitr:
'Point-in-time recovery provides continuous backups on your database to protect against accidental writes or deletes.',
pitrCreateHeader: 'Create PitrStep backup every',
Expand Down

0 comments on commit b99193b

Please sign in to comment.