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

Question: How to persist vitess database on local docker container #13176

Open
Cliftonz opened this issue May 28, 2023 · 1 comment
Open

Question: How to persist vitess database on local docker container #13176

Cliftonz opened this issue May 28, 2023 · 1 comment

Comments

@Cliftonz
Copy link

Question

I have been working with local vitess database as a local alternative to planetscale. One of the issues, I have found is that if the container restarts then all of my data is lost to. I set up a docker volume at /vt/vtdataroot however at each startup it creates a new data folder instead of reusing or importing the existing one.

image

Any help would be appreciated.

@Cliftonz Cliftonz added Needs Triage This issue needs to be correctly labelled and triaged Type: Question labels May 28, 2023
@deepthi deepthi removed the Needs Triage This issue needs to be correctly labelled and triaged label Jun 2, 2023
@deepthi
Copy link
Member

deepthi commented Jun 2, 2023

You may be able to use the option introduced in #7718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants