Exporting and importing Open edX courses

Exporting and importing courseware is a great idea if you wish to back up the course you've created, freeze a snapshot of course at a particular moment in development, or just move a course from one Open edX site to another. It also happens to be one of the easiest processes in Open edX. Here's how it's done:

First, start from Open edX Studio, and click the Tools dropdown menu. Then select Export.

From this page, there really is only one option - to click the big blue button "Export Course Content" To export your course, click it. 

What, exactly, is exported with your course? Great question.

Thankfully, on the Export page, there is a list of components that are and are not exported. Make sure you check it out and understand it when exporting.

After clicking "Export," your computer will download a file that looks something like this. It usually happens pretty quickly. 

Feel free to rename this file to something that makes it obvious what it is. Just make sure you leave the ".tar.gz" part of the file name. It's also a good idea to put it somewhere on your computer where you won't lose it.

Now to import, navigate to Open edX studio of the course you would like to overwrite

This is important. Whenever you import course content, you're essentially replacing the current course with whatever you are importing. Any content you have created in the course will be overwritten by whatever you are importing. 

Select the Settings drop-down menu, and then click Import. 

From this page, click the big green button that says "Choose a File to Import" 

Then, simply locate and select the .tar.gz file you exported earlier. 

At this point, you will be asked to click a button that says "Replace my course with the selected file" Just click that button, and Open edX takes care of the rest. 

You'll be able to watch the progress of your course import, and after a few moments (depending on the size of the course), you should receive a message like this one below. 

That's all there is to it!

Still need help? Contact Us Contact Us