Hello. We decided to leave the old prismic repo because it became mess and start our new site from scratch. At the same time, we need our old blog articles to be moved to new repo. Could you help with moving documents from one repo to another?
Hello Paul,
Thanks for reaching out to us.
You can use the Import/Export feature to move your content from one repository to another.
For this, you need the Import/Export feature on both repositories.
- First, export documents from the old repository.
- Create Custom Types in the new repository.
- Prepare Json files for Import.
- Import content into the new repository.
Please follow the Import/Export guide. This feature starts with the Medium plan.
Thanks,
Priyanka
I developed this tool to help people clone and duplicate Prismic repo easily. This tool uses Prismic migration api under the hood and it's open source.
GitHub repo: https://github.com/merazgasalim/prismic-repository-cloner
Hello, i tried migration API
but the document stayed in the migration release
how to Move it to another release ? (and not the master one)
thank you for your help
Hi @bhumbert! Great question. Right now, it's not possible to move documents from a migration release to another planned release in bulk using the Migration API. You’d need to manually add each document to the new release from the editor.
:-(
Thank you for your answer
Generally speaking, there's no way of moving a document from one release to another ?
Thank you for your help
@bhumbert yes, you can have the same document in multiple releases. Just keep in mind that each release is its own version of the document.
So if you make changes in Release 1, and you also want those changes to appear in Release 2, you’ll need to manually add or copy those updates into Release 2 as well.
If you don’t, and you publish Release 2 afterward, only the changes from that release will be visible anything done in Release 1 won’t carry over automatically.
Thank you for your reply.
Sorry, my question wasn't clear.
What I'd like to do is copy the contents of a document from one release to another, without having to do it manually.
Got it @bhumbert. At the moment the content has to be added manually to each release.
OK thank you