-
Notifications
You must be signed in to change notification settings - Fork 322
chore: add admin UI instructions for database restore #6700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
30c0aec
chore: update docs to reflect DB undelete addition
mnaqvi08 aedb2df
Merge branch 'master' into chore/update-db-delete
jstirnaman b4debb4
chore: consolidate points
mnaqvi08 b1ca174
chore: address comments
mnaqvi08 3898947
Merge branch 'master' into chore/update-db-delete
jstirnaman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||||||
| --- | ||||||||||
| title: Undelete a database | ||||||||||
| description: > | ||||||||||
| Use the [`influxctl database undelete` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/database/undelete/) | ||||||||||
| Use the Admin UI or the [`influxctl database undelete` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/database/undelete/) | ||||||||||
| to restore a previously deleted database in your {{< product-name omit=" Cluster" >}} cluster. | ||||||||||
| menu: | ||||||||||
| influxdb3_cloud_dedicated: | ||||||||||
|
|
@@ -17,7 +17,7 @@ related: | |||||||||
| - /influxdb3/cloud-dedicated/admin/tokens/database/create/ | ||||||||||
| --- | ||||||||||
|
|
||||||||||
| Use the [`influxctl database undelete` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/database/undelete/) | ||||||||||
| Use the Admin UI or the [`influxctl` CLI](/influxdb3/cloud-dedicated/reference/cli/influxctl/) | ||||||||||
| to restore a previously deleted database in your {{< product-name omit=" Cluster" >}} cluster. | ||||||||||
|
|
||||||||||
| > [!Important] | ||||||||||
|
|
@@ -37,7 +37,40 @@ table limits, and column limits as when it was deleted. | |||||||||
| > After this grace period, all Parquet files associated with the deleted database | ||||||||||
| > are permanently removed and the database cannot be undeleted. | ||||||||||
|
|
||||||||||
| ## Undelete a database using the influxctl CLI | ||||||||||
| {{< tabs-wrapper >}} | ||||||||||
| {{% tabs %}} | ||||||||||
| [Admin UI](#admin-ui) | ||||||||||
| [influxctl](#influxctl) | ||||||||||
| {{% /tabs %}} | ||||||||||
| {{% tab-content %}} | ||||||||||
| <!------------------------------BEGIN ADMIN UI --------------------------------> | ||||||||||
| The InfluxDB Cloud Dedicated administrative UI includes a portal for | ||||||||||
| managing databases, including restoring deleted databases. | ||||||||||
|
|
||||||||||
| 1. To access the {{< product-name >}} Admin UI, visit the following URL in your browser: | ||||||||||
|
||||||||||
|
|
||||||||||
| <pre> | ||||||||||
| <a href="https://console.influxdata.com">https://console.influxdata.com</a> | ||||||||||
| </pre> | ||||||||||
|
|
||||||||||
| 2. Use the credentials provided by InfluxData to log into the Admin UI. | ||||||||||
| If you don't have login credentials, [contact InfluxData support](https://support.influxdata.com). | ||||||||||
| 3. In the database list, find the deleted database you want to restore. | ||||||||||
| Deleted databases are shown with a "Deleted" status indicator. | ||||||||||
| You can sort on column headers or use the **Search** field to find a specific database. | ||||||||||
| 4. Click the options button (three vertical dots) to the right of the deleted database you want to restore. | ||||||||||
| The options menu displays. | ||||||||||
| 5. In the options menu, click **Restore Database**. The **Restore Database** dialog displays. | ||||||||||
|
||||||||||
| 4. Click the options button (three vertical dots) to the right of the deleted database you want to restore. | |
| The options menu displays. | |
| 5. In the options menu, click **Restore Database**. The **Restore Database** dialog displays. | |
| 4. In the options menu (three vertical dots to the right of the database), click **Restore Database**. The **Restore Database** dialog displays. |
Outdated
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
| 6. In the **Restore Database** dialog, review the database name and deletion date. | |
| 7. Click the **Restore Database** button to restore the database. | |
| 5. In the **Restore Database** dialog, review the database name and deletion date. | |
| 6. Click the **Restore Database** button to restore the database. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this may be a nit, but can we characterize this as "Deleted databases may be able to be restored"? Based on the current configuration DBs will be restorable for at least 7 days (depending on when the cleanup job runs), but I would rather hedge here with more permissive language than "can" to avoid suggesting that the customer can always wait til the last moment to restore.