How to Import and Export Your Cosmic Bucket

Community Articles
Community Articles How to Import and Export Your Cosmic Bucket

One of the many benefits of using a Content Management API like Cosmic over an installed content management system is the portability and scalability of the applications and content models you can create. Importing and exporting your Cosmic Buckets is easy, and allows for quick backups, prototyping and more. In this blog I briefly outline the importing and exporting process within Cosmic. 


Export a JSON Bucket

Navigate to Bucket > Settings > Import / Export. To download your data and files into a bucket.json file click "Export".


Import a JSON Bucket

Navigate to Bucket > Settings > Import / Export. To import a Bucket's data and files, upload the bucket.json file. This is the same file that is downloaded when you export a Bucket's data and files. 

Warning: Importing a new Bucket removes all current data and files in your Bucket. This does not, however, affect users or settings.



I hope that you've found this tutorial helpful. If you have questions or comments about Content Editor Features in the Cosmic system, I'd love to hear about them. 

carson@cosmicjs.com 

You may also like


Build a fully functioning messenger that can send SMS messages to application users. We will discuss Server side rendering of a React front, and leveraging a simple api in order to make protected requests to Cosmic cloud services.
In this tutorial, I'll show you how to deploy your Gatsby Blog to Netlify and trigger automatic rebuilds on content edits using Cosmic Webhooks.
Cosmic makes it easy to deploy your websites and applications to the web. You can deploy an app from any git repository to the Cosmic App Server from any Bucket. Cosmic uses Dokku (Docker + Heroku-like deployment) to deploy your app from any GitHub, BitBucket or any other public repo.
In this walkthrough, I'm going to show you how I build a blog application in Go Lang. I'll also talk about styling it using Tailwind CSS and lastly, I'll show you how you can utilize GitHub Actions to deploy your Go-based applications to Heroku.
This article shows you how to create a blazing fast Gridsome blog using Cosmic source plugin. Let’s get started.
In this tutorial, Cosmic co-founder Tony Spiro takes you on a tour of Cosmic Webhooks. Learn how webhooks work, see how to easily install integrations with Slack, auto-deploy websites to Netlify, and get an intro to Cosmic Functions.

Get Started with Cosmic

Build personal projects for free. Add your team at unbeatable prices.
Start Building Talk to Sales