🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now

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?

Related contributions

Turbo Start Sanity
- Template

The battle-tested Sanity template that powers Roboto Studio's websites

Go to Turbo Start Sanity

Schema UI - Next.js Sanity Starter
- Template

A Next.js starter template with Next.js 15, Tailwind CSS, shadcn/ui, and Sanity CMS with Live Editing. Get production-ready React components with matching Sanity schemas and queries. Build dynamic pages faster while keeping full control over customization.

Serge Ovcharenko
Go to Schema UI - Next.js Sanity Starter

The Swaddle
- Made with Sanity

A new brand identity to represent a more mature company, to signify The Swaddle’s evolution from publisher to production house, combined with an easier to navigate platform that can surface multiple content types - drawing readers through The Swaddle’s content offering.

Nightjar
Go to The Swaddle