Move Open edX courses to a self-hosted instance: what the move involves
If your hosted Open edX provider is ending service, or your organization wants course content in infrastructure it controls, the core answer is this: course content moves through Studio export and import as a .tar.gz package, while learner data and platform settings need their own plan. Each course is exported from the source instance as an archive and imported into the target Studio, where the structure, units, problems, videos and assets are rebuilt. Nothing else in the hosted environment comes with that package, so the move has two tracks that run side by side: the course track, and a separate track for enrollments, grades, certificates, users, forum data, branding and integrations.
Effort depends mostly on four things: how many courses you have, how many of them use custom XBlocks or third-party components that must exist on the new instance before import, how many internal links and asset references need checking after import, and which integrations (identity, commerce, analytics, external graders) the courses depend on. A small catalog of standard components is a different project from a large catalog with bespoke blocks. No duration figure is supplied for this page, so ask any partner for a timeline built from a written inventory of your courses and dependencies, and confirm with your current provider what export access, export formats and export limits they allow before you plan the work.
Who pays for what is worth settling early. The provider usually charges for export access or data handover under your agreement, so confirm in writing what is included, how long exports remain available, and whether re-exports are free if a course changes late in the project. Your team or a partner pays for the target environment, the import runs, verification and any rework. Ask for a quote that lists each course, its custom components, the number of re-runs assumed, the learner data export path and the cutover support, so you can compare the cost of a one-time migration against the recurring cost of running the platform yourself.
What maps cleanly from a hosted course and what does not
This table compares each part of a hosted course against its self-hosted equivalent after a Studio export and import. Read the course content rows as what travels inside the package, and the platform rows as data you must move or rebuild separately. The main takeaway is that the .tar.gz carries course structure and content, while learner records, enrollments, certificates and forum data stay with the source platform unless you migrate them by other means.
| Item | In the Studio export | Self-hosted equivalent and action |
|---|---|---|
| Course structure and sections | Carried in the course XML within the package | Rebuilt on import. Check unit order and visibility settings in Studio after the first run. |
| Videos and files | Referenced files travel in the package's static folder, but external video hosts may not | Confirm each video source and file path. Re-upload anything hosted by the provider's own storage. |
| Internal links | Stored as course-relative link syntax that resolves on import | Verify links after import. Links to other courses or to provider-specific URLs must be rewritten. |
| Assessments and problems | Problem definitions and answer keys travel with the course | Test graded components on the new instance. Confirm that scoring and due dates match the source course. |
| Custom XBlocks | Only the block usage travels, not the code that runs it | Install and enable the same XBlock packages on the Tutor instance before import, or blocks will fail to render. |
| Themes and branding | Not included in the course package | Install the matching theme on the new instance first. Course content does not carry site branding. |
| Enrollment modes and seat types | Not carried, since these belong to the platform's commerce and enrollment configuration | Define modes again on the new instance and map each paid mode to its replacement. |
| Learner progress, grades and certificates | Not carried, since these are learner records stored in the platform database | Migrate learner data separately with platform-level tooling, if permitted, or accept that learners restart. |
| Forum posts | Not carried in the course package | Discussion data needs its own migration path. Confirm the discussion backend and export method with the source provider. |
Documented export and import paths for Studio courses
Course content moves from a hosted provider into your instance through two steps: a Studio export that produces a package, and an import that reads it back. The cards cover the package format, the command-line import on Tutor, the links that must still resolve afterward, re-runs, and the provider permissions that decide whether you can export at all.
Studio course export package
Studio exports a course as a .tar.gz package that holds the course structure, content definitions and static assets. The package is the only artifact that carries course content between instances, so keep the original archive with its checksum and the exact release it came from. Confirm that the export includes every asset type your course uses, such as uploaded images, transcripts and attached files, by opening a sample unit after a test import.
Import through Studio or the command line
You can import the package through the Studio interface or through the course import command on a Tutor instance, which runs the manage.py cms import entry point inside the CMS container. The command-line route suits scripted, repeatable imports and large courses. Check the exact invocation for your release in the Tutor documentation, and confirm that the target instance runs a release compatible with the one that produced the export.
Course key changes after import
Course content refers to itself through the course key, made of organization, course number and run. If you import under a different organization, number or run, every reference built on the old key must be rewritten or it will fail. Decide the target course key before import, and record the mapping from the source key so that support staff and course teams can trace each course back to its origin.
Internal link resolution checks
Internal links in HTML components usually point to a block through the /jump_to_id/ path with a block identifier, and asset links point into the course's assets. After import, these links must resolve to blocks in the new course. Run a link check across every unit that contains links, and confirm the link form in your release before writing a rewrite script, because a mismatched pattern can silently break navigation.
Provider export rights and options
The hosted provider must grant course export rights to the course team members who run the export, and some providers restrict or disable export for certain roles or course states. Ask in writing which export options the provider exposes, whether the package format matches the Studio export described here, and whether the provider permits a full export of all course content. Without these rights, the migration cannot start.
Re-runs and learner data boundaries
Importing again into an existing course key overwrites course content, so plan each re-run in a staging instance first and keep the previous package. The package carries course content only. Enrollments, grades, learner progress, forum posts and certificates do not travel with it, so the migration plan must cover those data sets separately.
How to sequence a pilot, parallel run and cutover
This sequence moves course content from a hosted Open edX provider to your own instance in controlled stages, so each import is verified before course teams and learners depend on it. It ends with the hosted copy retired under a retention period you agree with the provider.
Inventory courses and dependencies
Ask the hosted provider for a list of every course to move, with course keys, run dates, enrollment counts and whether each course is live or archived. Record the dependencies for each course: internal links between units, uploaded files and images, referenced content libraries, custom XBlocks, third-party tools, certificates and grading settings. Confirm with the provider which Studio export they will produce and whether they can give you exports of archived runs. Done when every course has a row in a shared inventory with an owner, a target run and a list of known dependencies that need rebuilding on your side.
Confirm the target version and environment
Stand up your own Tutor instance on the same Open edX release as the source if you can confirm it, because a course export is only expected to import cleanly into a matching environment. Ask the provider which release and Tutor version they run, and check the named release notes before choosing a target. Record the versions of both sites in the migration log. Done when the target instance answers Studio and LMS requests and the version match or any gap is documented and accepted by the platform owner.
Run a pilot import of one representative course
Choose one course that covers the hard cases in your inventory, such as internal links, video, graded problems and a library reference. Export it from Studio on the hosted site as a .tar.gz package, then import it into the target instance through Studio. Open the imported course in Studio and check that internal links resolve, files load, and graded components keep their settings. Log each error with its component location. Done when the pilot course opens in Studio and the LMS, and the list of defects is filed with a clear owner for each fix.
Build a repeatable re-run process
Write the import steps as a checklist that any operator can follow: export source, verify package integrity, import into a named course run, run the link and file checks, and record the outcome. Decide whether each re-run creates a new course run or overwrites an existing one, because repeated imports into the same run can duplicate or replace content. Agree with course teams that content changes after the pilot are made on the source and re-exported, or are made only on the target after cutover. Done when two consecutive imports of the pilot course produce matching results and the checklist is stored with the migration runbook.
Run the full import and parallel review
Import the remaining courses in batches using the checklist, then give each course team access to both the hosted and the self-hosted courses for a review period you set with the provider. Ask course teams to compare structure, videos, assessments, due dates and certificate settings against the source. Collect differences in one tracker and rerun affected courses after fixes. Learner data such as enrollments, grades and forum posts do not travel with course content, so plan how they will be handled separately. Done when every course team has signed off the differences list and all open defects are closed or accepted.
Cut over course ownership and DNS
Agree a cutover date with the provider and course teams, freeze content edits on the source, run a final export and import, and repeat the link and file checks. Move course ownership and staff roles to the self-hosted instance, then change DNS so learners reach the new site. Keep the hosted copy readable as a fallback and keep a documented rollback path. Done when learners reach the self-hosted courses, staff can edit them in Studio, and the cutover record lists who approved each step and the time it was completed.
Decommission the hosted copy after retention
Keep the hosted copy in read-only mode for a retention period that you and the provider agree in writing, and confirm how the provider will handle exports, data deletion and any access you still need for audits or records. Ask for written confirmation of deletion or return of course data and learner data once the retention period ends. Remove the hosted course access for staff only after that confirmation is received. Done when the provider has confirmed deletion or return in writing, the retention record is archived with the migration documents, and the hosted site is closed to new edits.
What does not travel with course content
A course export package contains the structure, content and settings authored in Studio. It does not contain records of what learners did inside the course. Enrollments, progress, grades and certificates belong to the learner side of the platform, so they need their own export path, a deliberate rebuild, or a decision to leave them behind.
- Enrollments: A course package does not recreate who was enrolled. Request a roster export from the provider, or plan to re-enroll learners through your own process.
- Progress and grades: Problem responses and gradebook records stay with the provider. Ask whether they will export grade data per learner and per course.
- Certificates: Issued certificates are tied to individual learners. Confirm whether the provider will export issued certificate records and verification details, or whether learners must be reissued credentials.
- Historical records: Some organizations keep learner history as a read-only archive instead of importing it into the new instance. Record that choice before cutover.
Confirm in writing which learner data categories the provider's export terms allow you to take, and how long the export will remain available to you.
Accounts do not move with course packages. Profile details, password credentials and active sessions live in the platform's user store, and hosted providers rarely expose that store directly. Plan for learners and staff to sign in again on the new instance, either with new credentials or through your identity provider. Identity mapping is a separate integration task from the course move.
- Password credentials: Password hashes are usually not exportable from a hosted provider. Do not assume they will be available, and ask the provider directly.
- Identifiers and email addresses: The import needs stable, unique identifiers. Request a user list with those identifiers and confirm you have the right to use the personal data in it.
- Sessions and tokens: Active sessions, API tokens and OAuth grants do not transfer. Expect every user to authenticate again after cutover.
- Staff and instructor roles: Course team roles must be assigned again on the target. Ask for a role list per course if the provider can supply one.
- Single sign-on: If learners will sign in through an external identity provider, map identities before go-live. Linking accounts is a rebuild task, not something an export delivers.
Ask the provider whether user exports include profile fields and how migrated users will reset passwords.
Discussion threads and replies are separate from course content. Forum data is stored in a backend that has changed across Open edX releases, so the export and import method depends on what the provider runs and what your target version expects. Treat forum data as its own export path, and confirm the source backend before you plan the work.
- Threads and replies: A course package does not include discussion posts. Request a discussion data export from the provider and check whether it covers every course.
- Backend version: Confirm which forum backend the provider runs. If the target requires a different backend, the forum migration is a separate procedure with its own commands and checks.
- Authorship links: Posts reference user identifiers. The mapping must match the identifiers on the new instance, or posts will show missing or incorrect authors.
- Archive or restart: Many teams keep old threads as a read-only archive and start new discussions on the target. Make this decision before cutover so learners know what to expect.
- Moderation history: Flags, edits and moderator actions may not transfer in the same form. Decide whether you need them for compliance or dispute purposes.
Confirm forum export rights in writing, and ask the provider in which format discussion data will be delivered.
A course export carries course-level settings, but platform configuration stays behind. Site settings, feature flags, themes, logos, domain names, email templates and custom code live on the provider side or in a repository you may not hold. On the new instance you rebuild these pieces, usually through Tutor configuration, plugins and a theme in your own repository.
- Site configuration: Platform settings, feature toggles and organization settings must be recreated and documented on the target.
- Themes and branding: Logos, colors, fonts and page templates are not in course packages. Rebuild them as a theme you control and review them against the original.
- Custom components and code: Custom XBlocks and other extensions need source code you can build and run. Confirm that the provider gives you access to any custom code deployed on your site.
- Email and certificate templates: Templates are rebuilt on the target. Send test messages for every template before learners receive them.
- Domains and certificates: DNS records and TLS certificates belong to your infrastructure, so they are set up on the target rather than copied.
Ask the provider for a complete list of custom settings, theme files, plugins and code, so that nothing active on the old site is missed during the rebuild.
Historical analytics and payment records sit in separate systems from course content. Learner tracking data and reports come from the analytics stack, while orders, refunds and coupons come from a commerce service or payment processor. Neither arrives with a course package, and each usually needs its own export request and contract check.
- Analytics history: Tracking logs and reports are separate from course packages. If the provider runs a reporting service, request exports of raw data and report definitions, and confirm the format.
- Dashboards: Historical dashboards usually need rebuilding on the new analytics stack. Decide which reports the course teams must keep before you start that work.
- Orders and refunds: Order records, refunds and coupon usage are held by the commerce system. Request exports and reconcile totals with finance before cutover.
- Enrollment modes and seat types: Paid modes must be mapped on the target before learners can purchase again. Mismatched modes can grant or block access incorrectly.
- Retention obligations: Financial and learner records may carry legal retention rules. Confirm them with legal and finance before any provider copy is deleted.
Confirm export rights for analytics and payment data separately from course content, because providers often license these categories on different terms.
How course packages move from the hosted provider to Tutor
The flow starts in Studio on the hosted provider, where the course is exported as a .tar.gz package. That package is imported into a staging Tutor instance first, so internal links, assets and component settings can be checked before anything reaches production. Only after that check does the package go into the self-hosted Studio. Learner records are not in the package, so they follow a separate data migration path, and platform settings such as themes and plugins are rebuilt in Tutor configuration, not carried over with the course.
Course packages pass through staging, while learner data and platform settings take separate paths.
What drives the cost and duration of the course move
This table lists the factors that change the effort of moving courses from a hosted provider into your own Open edX instance, with what each one means for the work and how to keep it contained. Read each row as a question to answer before you ask for a quote, because the same course export can take very different effort depending on the links, media and learner data attached to it.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number and size of courses | Each course is a separate export and import, and larger course trees take longer to check after import. | Group courses into waves and move the smallest pilot course first to prove the process. |
| Video and file volume | Large video and static file sets must be transferred and checked, and their storage location affects how links resolve. | Confirm with the provider whether video is hosted externally and whether files can be downloaded in bulk. |
| Custom XBlocks and themes | Courses that use custom XBlocks or theme-dependent components fail to render until those are deployed on your instance first. | Inventory every custom component in the export and deploy those plugins before the first import. |
| Internal link repair | Internal links in course content use the platform's link syntax and often point to course keys that change on import, so they need checking and rewriting. | Ask for a list of internal links per course and run a link check after each import. |
| Assessment types | Problem types, timed exams and peer or external graded items each need separate testing, and some depend on external services. | Rank courses by assessment complexity and test the most complex ones first. |
| Number of course teams and languages | Each team reviews its own course, and multilingual content adds review passes and translation checks. | Agree one review owner per course and a sign-off date before the move starts. |
| Depth of learner data to keep | Learner records, grades and progress do not travel with course content, so keeping them means a separate data project. | Decide early which learner data is required, then scope that as its own piece of work. |
| Integrations to rewire | Identity, grading, certificates and analytics connections must be configured again on the new instance. | List every integration in use and confirm each one has a target configuration before cutover. |
| Number of re-runs | Each re-run repeats the export, import, link check and review, so unclear scope multiplies effort. | Fix the acceptance checklist and the test course set in the written scope before work starts. |
What usually goes wrong when courses move between instances
Course moves rarely fail in the import itself. The failures usually come from links that point at the old site, release mismatches, missing custom code, and assumptions about what a course package carries. Each card below names one failure and the check that prevents it.
Broken internal links after import
Internal links in a course export are written as course-scoped link syntax, so they resolve only when the target course keeps the same course key and the linked units are imported with it. Links to the old domain, to files that were not exported, or to a course run with a different key will show as dead links to learners. Before the cutover, open every unit that links out, check each internal and external reference in the target Studio, and rerun the import after any key change rather than patching links one by one.
Open edX release notesMismatched release versions
Open edX supports only the latest named release, so a course exported from a hosted site on one release and imported into a self-hosted instance on another can hit format or component differences. Confirm the exact release of the source provider and the target before the first import, and ask the provider whether they will share an export from their current version. If the versions differ, plan the upgrade on the target first and run the import only after the upgrade passes testing.
Missing custom XBlocks and plugins
A course that uses a custom XBlock, an external grader or a theme-specific component will fail or show errors if the target instance does not install the same code. Hosted providers often run components that are invisible to the course team, so the failure appears only after import. Ask the provider for a full list of installed XBlocks and plugins, install and configure each one on the target, and open every problem and component type in Studio before learners see the course.
Learners assumed to move with courses
A course export carries course content and structure, not enrollments, learner progress, submissions or account records. Teams that expect students to appear on the new site find an empty roster and an empty gradebook. Agree in writing which learner data the provider will hand over under its own terms, decide whether learners re-enroll or are provisioned through your identity provider, and tell learners what to expect before the switch.
Certificates and grades lost
Grades, earned certificates and certificate templates are tied to the learner records and configuration of the original platform, so they do not transfer with the course package. Learners who completed a course on the hosted site may lose their proof of completion if no record exists on the new site. Before cutover, export grade and certificate records the provider permits you to keep, confirm how certificate templates and signatories are recreated, and decide how past credentials will be verified after the move.
Edits made during the parallel run
When the old and new sites both stay live during testing, instructors may keep editing the source course, and those changes never reach the target. The two copies then diverge and the team loses track of which version is current. Freeze authoring on the source course for the cutover window, name one owner for the final export, and record the export time so that any edit after that point is known and repeated by hand.
Questions buyers ask before moving Open edX courses
What does it cost to move Open edX courses to a self-hosted instance?
The cost depends on how many courses move, how much rebuild work each one needs, and who does the work. Your costs fall into three groups: the infrastructure for a staging server and the production instance, the internal time from course owners and an engineer, and any external fee for the migration work itself. Most of the variable cost comes from the cleanup after import, because exports carry structure and content but seldom arrive in a state learners can use without review. Ask any provider for a quote built from a written scope that lists the course count, the number of re-runs included, and what each deliverable is. The infrastructure cost recurs, while the migration work is largely one-time.
How long does a course move take, and what changes the timing?
Duration is driven by the number of courses, their size, how many media assets they embed, and how many internal links must be checked after import. Timing also depends on access to the hosted provider's export function, the availability of course owners for review, and the time needed to stand up a staging server running the same Open edX release as your target. A single course with few dependencies moves far faster than a catalog of long courses with video and cross-linked units. Ask for a schedule that separates export, import on staging, review, and production import, and confirm which steps depend on the provider or on your team.
Can learner progress and grades move with the course?
No. Studio course export and import carry course content and structure, not learner data. Enrollments, progress, grades, certificates, and learner-generated records such as discussion posts remain with the hosted platform unless you arrange a separate data export under your agreement with the provider. Learner data also raises privacy and retention questions, so confirm with your legal and compliance teams what may be transferred and how it will be handled. Plan for learners to start fresh on the new instance, and ask the provider in writing what learner-level data it will release, in which format, and on what timeline.
What does the move need from our organization?
Three things must be in place before work starts: access to the hosted provider's Studio for every course in scope, named course owners who can review imported content, and a staging server running the same Open edX release as the production target. Provider access must include permission to export each course package. Course owners check text, media, assessments, and links, since they know which content is current. The staging server lets the team test imports, fix problems, and re-run without touching learners. Confirm these requirements with your provider and your platform team early, because missing access is one of the most common reasons a move stalls.
Can our internal team move the courses without an outside partner?
A team with Open edX and Tutor experience can run a move alone, particularly for a small number of courses. The work requires someone comfortable with Studio, command-line tools, and Tutor operations, plus course owners who can judge what the imported content should look like. The harder parts are usually the internal link checks, reconciling media, and deciding what to rebuild rather than repair. Ask yourself whether your team has run an Open edX import before, whether it can staff a staging environment, and whether it has time for several review passes. Your decision should rest on those answers rather than on the size of the catalog alone.
What does a re-run of a course import involve?
A re-run means importing the course again after fixes, typically into the staging instance, until the reviewed version is ready for production. Each pass repeats the import, checks internal links and media, and asks course owners to confirm the changes. Re-runs are normal because the first import often exposes broken references, missing assets, or settings that need adjustment in Studio. Ask any provider how many re-runs the quote includes, who performs them, and how the team tracks changes between passes. Keep the original package so every re-run starts from the same baseline.
What goes wrong with imported Open edX courses, and how do we check for it?
The usual failures are broken internal links, which depend on course identifiers that change between instances, missing media files, and content that refers to features or libraries not present on the target release. Check every internal link in Studio after import, confirm that each video and file loads for a test learner account, and review assessments and grading settings. Run the course through a test enrollment on staging before any production import. Confirm which Open edX release your target runs, since the Verawood release notes describe the current named release and its changes.
Official Open edX and Tutor references for course export
Match the documentation to the exact Open edX release on both ends before you export or import anything. Open edX states that the latest named release is the only supported release, so the Studio export and import steps you follow should come from the release your source host and your target instance run. Start with the Open edX release notes to identify the named release, then check the Tutor documentation for the Tutor version that deploys it. Ask your hosted provider which release and Tutor version they run, because a course package exported from one release may not import cleanly into another, and the provider's answer determines which pages you read.
Confirm the Studio course export and import steps against that release rather than relying on memory or on older community posts. The Verawood release, which is the current named release at the time of writing, changed several Studio areas, including a new Studio sidebar and tagging and taxonomy management, so screens and menu paths may differ from earlier documentation. Record the release and Tutor version in your migration runbook, and repeat the check if your target instance is upgraded later. The Verawood release notes list the changes in that release and are the next read if your source or target runs it.
Where a documented step is unclear, or the documentation does not cover your situation (for example, a custom XBlock or a non-standard theme in the course), treat your own test import as the authority. Ask your provider for their documented export procedure and any known limitations, and ask whether they will supply the exported package in a form your target release can read. Keep the official pages as the baseline, and write down every deviation you find during the rehearsal.

