[UI] Set backup schedules at the DB creation stage

Description

As a Dev or DBA that's creating a database cluster
I want to set a DB backup schedule for the db cluster
So that I can have DB backups being created automatically at a given schedule

NOTE: This option should be hidden for PG engine types. Support for PG will be added later in EVEREST-509.

DESIGN:

dbWizard: https://www.figma.com/file/6MQMfninYJsCd1D3HOB3Tg/Alpha-release?type=design&node-id=881-74157&mode=design&t=W4K5Bam6IqD1cyPD-4 ** 

      create mode:

  • show the single scheduled backups form with name

  • show the message: After creating the database, you can add more schedules from the Backups section in the DB cluster details view

       edit mode:

  • user has several schedules:

    • form should be hided

    • show the message: You have multiple backup schedules set for this database. See the list of schedules and update the ones you need straight from the Backups section in the DB cluster details view.

  • user has one schedule:

    • show the single scheduled backups form with name

        restore mode:

  • show the single scheduled backups form with name

  • show the message: After creating the database, you can add more schedules from the Backups section in the DB cluster details view

API:

POST/kubernetes/{kubernetes-id}/database-clusters

PUT/kubernetes/{kubernetes-id}/database-clusters/{name}

Attachments

4

Activity

Show:

Manish Chawla November 28, 2023 at 11:48 AM

Create mode

Edit mode single schedule

Edit mode multiple schedules

Restore to a new cluster

One issue is pending which will be fixed in the next release. Hence closing this issue.

Diogo Recharte October 3, 2023 at 3:30 PM

Since we are imposing a limitation that the user can only create a single backup schedule, let's add somewhere a message saying:
After creating the database, you can add more schedules from the Backups section in the DB cluster details view.

Catalina Adam October 3, 2023 at 12:47 PM
Edited

UI string: You have multiple backup schedules set for this database. See the list of schedules and update the ones you need straight from the Backups section in the DB cluster details view.

peter.szczepaniak October 3, 2023 at 9:48 AM

My proposal is "You have more than one backup schedule for this database. To modify backup schedule please open cluster details->backups" but we need this in proper english  

Iaroslavna Soloveva October 3, 2023 at 9:45 AM

can we agreed edit mode text message, where user has several schedules and we should direct user to the schedules list?

Done

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Smart Checklist

Created October 2, 2023 at 11:07 AM
Updated March 14, 2024 at 5:20 PM
Resolved November 28, 2023 at 11:49 AM