Skip to content
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

br: take a backup for empty database and restore it #33866

Closed
Tracked by #29501
joccau opened this issue Apr 11, 2022 · 3 comments · Fixed by #34385
Closed
Tracked by #29501

br: take a backup for empty database and restore it #33866

joccau opened this issue Apr 11, 2022 · 3 comments · Fixed by #34385
Assignees
Labels
component/br This issue is related to BR of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@joccau
Copy link
Member

joccau commented Apr 11, 2022

Enhancement

Test step

  • create a empty database empty_db
  • take a full backup by command br backup full
  • restore data to a new cluster by command br restore full

Result

The empty database empty_db is disappeared in restored cluster. But we need the empty database in incremental restore and PiTR (a future feature WIP).

@joccau joccau added the type/enhancement The issue or PR belongs to an enhancement. label Apr 11, 2022
@joccau
Copy link
Member Author

joccau commented Apr 11, 2022

/component br

@ti-chi-bot ti-chi-bot added the component/br This issue is related to BR of TiDB. label Apr 11, 2022
@joccau
Copy link
Member Author

joccau commented Apr 11, 2022

/assign

@joccau
Copy link
Member Author

joccau commented Apr 18, 2022

/assign @3pointer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants