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


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.
The beauty of using a static site generator is that your backend can be completely separate. In this video, I switch from markdown files to Cosmic!
In this blog we'll quickstart a React Native Cross-Platform Blog using the Cosmic CLI. This app is three apps in one: Web, iOS and Android app all with content powered by Cosmic. Go to the GitHub repo to see the iOS and Android app share the same React Native codebase.
To demonstrate how easy it is to get started with Cosmic, we'll utilize the Cosmic CLI to quickstart an Angular Ecommerce App. This Angular ecommerce app allows you to process orders from customers and accept Stripe payments for goods and services. Manage inventory in the Cosmic Dashboard.
To demonstrate how easy it is to get started with Cosmic, we'll utilize the Cosmic CLI to quickstart a Vue.js Music App. This Music website was built using Vue, Nuxt and Cosmic. Users can upload and play tracks, upload and manage album art plus leave comments.
This article shows you how to create a blazing fast Gridsome blog using Cosmic source plugin. Let’s get started.

Get Started with Cosmic

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