Cloning a Sanity project and migrating data explained

5 replies
Last updated: Apr 19, 2020
is there a way to clone a sanity project? basically, i want the same CMS content but a new project ID …
Apr 19, 2020, 1:48 AM
You would have to migrate, but that's not too hard:
Apr 19, 2020, 1:58 AM
That would give you exactly the same content in another project. You also then have to clone the studio code. The backend doesn't know about the studio
Apr 19, 2020, 1:59 AM
You can start a new blank project with npm. Then you have zero data and a blank schema. Then import what you exported. And copy the schema.
Apr 19, 2020, 2:02 AM
thx! πŸ™‡β€β™‚οΈ
Apr 19, 2020, 2:16 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?