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

[feature-request] dolt dump #2277

Closed
stuk88 opened this issue Oct 21, 2021 · 5 comments
Closed

[feature-request] dolt dump #2277

stuk88 opened this issue Oct 21, 2021 · 5 comments
Labels
good first issue Good for newcomers

Comments

@stuk88
Copy link

stuk88 commented Oct 21, 2021

Hey guys!
I'm working on a mySql server (WordPress), And would like to export the DB back from dolt after finding a good version, back into mysql.
I need a dump file for that, or better, only changes dump.

@timsehn
Copy link
Sponsor Contributor

timsehn commented Oct 21, 2021

Only changes dump exists!

dolt diff --sql

@VinaiRachakonda or maybe @jennifersp will get on a proper dump command.

@timsehn timsehn added the good first issue Good for newcomers label Oct 21, 2021
@VinaiRachakonda
Copy link
Contributor

@stuk88 Technically we are mysqldump compatible if you have the mysql client installed. That may be useful for now.

Agree that a wider dolt dump is needed.

@zachmu
Copy link
Member

zachmu commented Oct 21, 2021

Duplicate of #2202, please follow there

@zachmu zachmu closed this as completed Oct 21, 2021
@zachmu
Copy link
Member

zachmu commented Oct 21, 2021

If you only want changes, that's supported now:

dolt diff -r sql

Will give you a set of SQL statements that enact the changes between two revisions.

@stuk88
Copy link
Author

stuk88 commented Oct 21, 2021

Awesome! thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants