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


See how easy it is to create a browser based video game when using Cosmic to manage all of your data.
Now editors can use the new Unsplash Photos Extension to find and add stock photography to their media library, all from the comfort of their Bucket Dashboard without having to interface with a third-party website like Unsplash.
In this video tutorial, I show you how to use the Cosmic CLI to install and deploy a Cosmic GraphQL-powered App in 5 minutes.
Next.js is a React framework for building hybrid applications. It's flexible, extensible, and works great with any data provider. In this tutorial, we'll show how to get started with Cosmic CMS and Next.js.
In this article I’m going demonstrate how to add new form submissions to Hubspot when you Publish Objects in your Cosmic Bucket.
In this video, Cosmic co-founder Tony Spiro takes you on a tour of the new Cosmic CLI which allows you to do all of the awesome things you can with the Cosmic API, from the comfort of your command line interface.

Get Started with Cosmic

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