🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

How to back up your Sanity dataset using CLI or plugins.

2 replies
Last updated: Apr 20, 2024
👋 Hello, team!
I need to back up my entire Sanity dataset, but I can't find any option to do so through the Sanity UI.

help asset-sources
Apr 20, 2024, 10:17 AM
You can use the CLI or a plugin like this: https://www.sanity.io/plugins/backups#
Apr 20, 2024, 12:47 PM
user C
intimated, there is presently no mechanism inside the Studio to do so.
• The most popular method, and arguably the most straightforward, is using the
CLI to produce an export
Some people have set up a recurring process through GitHub Actions
One enterprising individual made sure their offsite storage service supports Sanity ( details on the plugin here: https://www.sanity.io/plugins/backups ) I can't vouch for it because I don't use it but people have discussed using it with success(Sorry, I was in the middle of typing and thought I'd keep going haha...thanks for all the good work you've been putting in!)
Apr 20, 2024, 12:50 PM

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?