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 

Was this article helpful?

Thank you! Your input helps us improve our articles and resources. If you have any other questions or comments, please contact support.

You may also like


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.
In addition to Import / Export Features and Revision History, Cosmic has added Automatic Bucket Backups to deliver even more peace of mind to you and your content editing team. To add daily Backups to your Buckets go to Your Bucket Dashboard > Settings > Backups.
With revision history, you no longer have to worry about editing mistakes. You now have the power to go back in time and revert to to prior versions.
Website built using the Next.js Website Boilerplate. Fully responsive down to mobile, SEO ready, includes a contact form and full site search.
Looking to migrate from Contentful to Cosmic? The Contentful Importer makes it quick and easy.

Ready to Get Started?

Build personal projects for free. Add your team at unbeatable prices.
Start Now Contact Sales