Skip to content

How to copy data from one branch to another. dev > main #594

Answered by orware
dominic-vie asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @dominic-vie,

I believe you received a reply already from your question in Discord, but for a more detailed example something along the lines of what is described in this discussion should be similar to what you would need to do:
#476 (comment)

The one extra tip that might be helpful to note is that for the pscale database restore-dump step it might be required to use the optional --overwrite-tables flag when overwriting the existing tables/data within your prod branch:
https://planetscale.com/docs/reference/database

I hope this is helpful!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mscoutermarsh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants