Skip to content

Creating Task to Restore an Old State of Database#8708

Open
vitorsv1 wants to merge 1 commit into
readthedocs:mainfrom
vitorsv1:db-invoke-restore
Open

Creating Task to Restore an Old State of Database#8708
vitorsv1 wants to merge 1 commit into
readthedocs:mainfrom
vitorsv1:db-invoke-restore

Conversation

@vitorsv1

Copy link
Copy Markdown

Fix Issue #7761

@vitorsv1 vitorsv1 requested a review from a team as a code owner November 24, 2021 01:01

@humitos humitos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for opening the PR 😄

It seems that you only added a paragraph in the documentation but I'm not seeing the code for that task, restoredb. Will you open another PR in the common repository?

@vitorsv1

Copy link
Copy Markdown
Author

Hi! Thanks for opening the PR 😄

It seems that you only added a paragraph in the documentation but I'm not seeing the code for that task, restoredb. Will you open another PR in the common repository?

Hi @humitos !

I just made the PR in the common repository, it seems I forgot to do it before 😆

@stale

stale Bot commented Mar 2, 2022

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the Status: stale Issue will be considered inactive soon label Mar 2, 2022
@humitos humitos added Status: blocked Issue is blocked on another issue and removed Status: stale Issue will be considered inactive soon labels Mar 2, 2022
@humitos

humitos commented Mar 2, 2022

Copy link
Copy Markdown
Member

This is blocked on readthedocs/common#98

humitos pushed a commit that referenced this pull request Dec 1, 2025
Closes #7761

## Summary

- Documents the `--backupdb` argument for `inv docker.manage`
- Describes the backup filename pattern:
`dump_<DD-MM-YYYY>_<HH_MM_SS>__<git-hash>.sql`
- Adds restore instructions with step-by-step commands

Note: #8708 proposes a `restoredb` invoke task to automate restoration.
The manual workflow documented here can coexist with that automation if
it lands.

## Test plan

- [x] Built docs locally with `make PROJECT=dev html` - renders
correctly
- [x] Tested `inv docker.manage --backupdb showmigrations` - backup file
created with documented pattern

Generated with [Claude Code](https://claude.com/claude-code)
Steered and reviewed by @nikblanchet (mostly human)

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: blocked Issue is blocked on another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants