Move an Open edX platform to a new server

A Tutor-based Open edX site can move to new hardware or a new cloud account by matching Tutor versions, copying the project root and restoring its databases. The work is mostly planning, rehearsal and a controlled DNS cutover.

On this page

How to move an Open edX platform to a new server without losing learner data

A move between servers or cloud accounts is a same-version Tutor relocation, not a re-implementation. The work is to put the same Tutor version on the new host, carry the existing data across, and cut traffic over, with the effort driven by how much data the platform holds, how many customizations sit on top of the stock install, and how much downtime the organization can accept. Keep the Tutor version identical on both servers so the new platform starts from the data it was built around. Tutor stores all of its data in a single project folder, so the move centers on that folder plus a MySQL dump and a MongoDB dump taken while the old platform is stopped. Confirm the exact Tutor version in use on the old server with the tutor command before you provision anything, because an upgrade during the move adds a second change to a process that should carry only one.

The project root carries configuration in config.yml, generated secrets, custom plugins and any theme files, and it is copied with rsync after the old platform has stopped. Learner records, enrollments, course structure and grades live in the MySQL database, while forum content and some course-adjacent data sit in MongoDB, so both dumps must come from the same stopped state. Check that the copied folder includes the data directories Tutor uses for uploads and volumes, and that file ownership and permissions survive the transfer. Plan the DNS cutover and a rollback path before the first sync: keep the old server intact and reachable until the new one passes login, course access, certificate and email checks. The official Tutor backup and data migration guide is the next read for the exact sequence. Ask whoever will run the move to confirm the downtime window, the size of the data to transfer and the rollback owner in writing, since those three answers determine the effort.

What carries over unchanged and what needs rework

This table compares each part of a Tutor-based Open edX site on the old server with its equivalent on the new server, and notes what changes. Read it before the cutover window to decide which items copy across as they are and which need settings or DNS work. The main takeaway is that the Tutor version must match on both servers, and any value tied to the old host's address, hostname, certificate or external storage needs an explicit update.

ComponentCarries over as-isRework and migration notes
Tutor project rootCopied with rsync; holds config, env files and plugin list in one folderConfirm the Tutor version matches on both servers before copying; check paths and file ownership after transfer
MySQL dataRestored from a dump taken while the old platform is stoppedVerify MySQL version compatibility with the Tutor release on the new host; check row counts after restore
MongoDB dataRestored from a dump; holds course structure and forum data in the default setupConfirm the MongoDB version in the Tutor build; re-check forum data if the forum backend differs
Media and uploadsCopied with the project root when stored on local volumesNeeds rework if files sit in external object storage; update bucket settings instead of copying
Custom plugins and themesCarried in the project root when installed through Tutor plugin configurationRebuild images on the new host if plugins were installed from local paths; retest the theme build
Domain names and DNSNot transferred; DNS records stay in your registrar or DNS providerLower TTL before cutover; update LMS and CMS host values in config and re-issue certificates for the new IP
TLS certificatesNot transferred by default in most setupsIssue new certificates on the new server or copy the private keys securely; confirm renewal jobs run there
Email and SMTP settingsStored in configuration and carried with the project rootCheck that the SMTP relay accepts mail from the new server's IP and that SPF and DKIM records still match
Scheduled jobs and cron tasksNot automatically restored from the old host's crontabRecreate backups, certificate renewal and log rotation on the new server and disable them on the old one

Which documented Tutor commands and data paths the move uses

The documented starting point is that all Tutor data lives in a single project folder. The usual sequence is to install the same Tutor version on the new server, stop the old platform, copy the project root with rsync and start the platform on the new host. Because the project root carries configuration, plugins and local data, the Tutor version on both sides must match before anything is copied. Use the Tutor backup and data migration documentation as the procedure of record.

  • Matching versions: Record the output of the Tutor version command on the old server and install that exact release on the new one before copying anything.
  • Stop before copy: Stop the running stack on the old server so the databases are not written to during the rsync.
  • Project root copy: Use rsync with archive mode and preserve ownership and permissions, then compare file counts or checksums on both sides.
  • Start and inspect: Start the stack on the new server and check that the LMS and Studio respond before any DNS work.
  • Ownership and paths: Confirm the project root path and any bind-mounted volumes match what the containers expect on the new host.

Confirm every exact command, flag and volume name against the Tutor release you run, since syntax can change between versions.

Sequence for inventory, rehearsal, cutover and rollback

This sequence moves a Tutor-based Open edX site to new infrastructure with a rehearsed restore, a planned freeze, a reversible DNS change and a clear point at which the old server can be retired. Each step closes with a check that tells the team whether to continue.

  1. Inventory the current platform

    The operator records the exact Tutor version, the installed plugins and their versions, the custom settings and XBlocks in the project folder, the enabled services, and the data stores in use (MySQL, MongoDB, Redis or Memcached, and media storage). Who does it: the platform owner with the operator who runs the server. Done when the inventory is written down, reviewed by a second person and matched against the running containers and the project configuration. Anything not in the inventory is a likely cause of a failed cutover, so confirm each item before moving on.

  2. Build the new server with the same Tutor version

    Install the identical Tutor version on the new hardware or cloud account, along with the same container engine, plugins and Docker images the old server used. Do not start a new platform with a different version and expect the restore to fix the difference. Done when the fresh install starts cleanly on an empty project, the version reported by Tutor matches the old server, and the plugin list is identical. Confirm the version pinning and plugin source with the Tutor documentation before the install starts.

  3. Rehearse the restore on a staging copy

    Copy the project root and take MySQL and MongoDB dumps from a non-production copy of the old platform, then restore them onto the new server in a staging environment that is not reachable from the public internet. The team checks the restored platform against the inventory and records every error, missing file or permission problem. Done when a full rehearsal runs end to end without manual fixes that are not written into the runbook. Repeat the rehearsal until the runbook alone is enough to complete it.

  4. Freeze the old platform and take final data

    Agree a freeze window with the course teams, announce it to learners, and stop the old platform so no new enrollments, grades or forum posts are written during the copy. The operator then takes the final MySQL and MongoDB dumps and confirms that the stopped state holds. Done when the old platform is stopped, the dumps finish without errors and their checksums are recorded. The freeze length is a decision for the owner; confirm it with the stakeholders rather than assuming a standard period.

  5. Sync the project root and restore the databases

    Copy the project root with rsync to the new server, then load the final MySQL and MongoDB dumps into the new containers and start the new platform. The operator checks file ownership and permissions, confirms that the media and uploads directories arrived complete, and compares file counts and sizes with the source. Done when the platform starts on the new server, the database restores report no errors and the rsync output shows no failed transfers.

  6. Validate login, courses, media and email

    Test the new platform before any public traffic is directed to it. Testers sign in through the local accounts and through each configured identity provider, open published courses in the LMS, check Studio editing, confirm that uploaded images and videos load, and send a test email to confirm the outgoing mail path. Done when a written checklist covering each area passes and the results are signed off by the platform owner. Any failure returns the team to the rehearsal step, not to a live fix.

  7. Cut over DNS with a lowered TTL

    Lower the DNS TTL for the platform hostname well before the freeze so resolvers pick up the change quickly, then point the record at the new server during the freeze window. Confirm the record resolves to the new address from several networks and that TLS certificates are valid for the hostname. Done when the public hostname serves the new platform and the old server is no longer receiving changed traffic. Confirm the provider's current TTL behavior and the certificate process in your environment.

  8. Keep the rollback path open until acceptance

    Leave the old server intact, stopped but not deleted, with its data and dumps retained, and document the steps to point DNS back and restart it. Set acceptance criteria with the owner, such as a completed validation pass and a period of normal use, and record the rollback decision point. Done when the owner signs acceptance in writing, and only then does the team move to decommissioning. A rollback after new learner data has been written to the new server needs its own reconciliation plan, so agree how that data would be handled before cutover.

  9. Decommission the old server

    After acceptance, the team removes the old server, its public addresses and its stored backups according to the retention policy, and removes any firewall rules and monitoring that pointed at it. Secrets and access keys used for the move are rotated or revoked. Done when the old server is deleted or archived under the retention policy, the inventory is updated to show the new environment and the runbook is filed for the next move.

How the project root, databases and DNS move together

The cutover starts with the old Tutor platform stopped so no writes land during the copy. The project root is copied with rsync, and the MySQL and MongoDB dumps travel alongside it to the new server, where the same Tutor version restores them and the platform is checked before DNS changes. DNS switches only after validation passes, and the old server stays intact and reachable as the rollback path until the new site is accepted. Confirm that the new server runs the identical Tutor version before any data moves.

Data and DNS hand-offs from the old server to the new one, with rollback to the old server.

What drives the effort, cost and downtime of the move

This table lists the factors that change how long the move takes, what it costs and how much downtime learners will see. Read each row as a question to answer for your own site before asking for a quote. The main takeaway is that database size, custom code and downtime tolerance usually matter more than the server change itself.

DriverWhy it changes effort or costHow to keep it down
MySQL and MongoDB data sizeDump, transfer and restore time grows with the databases, and the old platform must stay stopped for the whole copyClean up old data before the window, measure a rehearsal dump, and ask the quote to state the rehearsal timing
Media and upload volumeThe project root holds uploaded files and course assets, so rsync time and transfer cost grow with volumeMeasure the project root size early, copy most of it ahead of cutover, and then sync only changes
Custom plugins, themes and XBlocksEach custom plugin must be installed at the same version on the new host, and any mismatch adds debugging timeKeep a version-pinned plugin list in version control and confirm each one builds on the target server
External identity, storage and emailChanging outbound IP addresses, DNS or hostnames can break SSO callbacks, object storage access and mail deliveryList every integration, its allowed addresses and its callback URLs, and plan updates to each one before cutover
Tolerance for downtimeA tighter window means more rehearsal, a staged copy and a tested rollback, which adds one-time effortAgree the acceptable window in writing and confirm whether learners need read-only access during the move
Network or region changeMoving to a different network or region adds transfer time, firewall rules and latency checks for learnersConfirm the new host's network path, open ports and TLS certificates before the rehearsal
Number of environments to rehearseEach rehearsal environment (staging, pre-production) repeats the dump, copy and validation stepsRehearse once on a copy that matches production, then reuse the same runbook for the cutover
Recurring hosting and backupsNew servers, storage and backup retention are billed every period after the move, regardless of the move costAsk the quote to separate one-time migration work from monthly hosting and backup storage

What usually goes wrong during a platform move

A move looks simple on paper: copy the project, load the databases, switch DNS. The failures tend to sit in the gaps between those steps, where versions, live data, uploads, mail and rollback plans are easy to leave unchecked. Each card below names one risk and the check that prevents it.

Tutor version drift between servers

Tutor keeps all data in one project folder, so the move only works when the new server runs the same Tutor version as the old one. A newer or older Tutor can generate different configuration, compose files or plugin hooks, and the copied project may fail to start or start with changed settings. Pin the Tutor version on both servers, record the output of tutor --version before stopping the old platform, and compare the rendered configuration on each side before the first start.

Tutor migration docs

Incomplete dumps taken while live

If learners or instructors write to the site while the MySQL and MongoDB dumps run, the two databases can capture different points in time, and recent enrollments, grades or course edits can be lost. Stop the old platform before dumping, or confirm that writes have ceased. Then verify each dump finished without errors, check file sizes against expectations, and restore to a scratch environment to confirm the data loads before the cutover window.

Missing media and uploads

Course videos, static assets, uploaded files and certificate artwork sit in the project data, and a partial rsync can leave some of them behind without any visible error at startup. Learners then see broken images or failed downloads only after go-live. Compare file counts and total size on both sides after the copy, preserve ownership and permissions, and open a sample of uploads and course assets from the new server before DNS changes.

DNS TTL delaying cutover

A high DNS record TTL keeps clients resolving the old address long after the switch, so part of the audience reaches the retired server for hours. Lower the TTL on the platform record well ahead of the window, confirm the change has propagated, and keep the old server running and reachable until traffic has clearly moved. Also check certificates: the new server needs valid TLS for the same hostnames before the record changes.

Email sending from the new IP

Learners rely on account activation, password reset and certificate emails, and a new server address can fail sender checks or land in spam until its reputation and DNS records are in place. Confirm SPF, DKIM and DMARC records cover the new sending host, check the outbound relay or SMTP settings in the Tutor configuration, and send test messages to several mailbox providers. Ask the email provider whether the new address needs to be allowed.

No tested rollback

A move without a rollback path forces the team to fix the new server under pressure when something breaks after cutover. Keep the old platform stopped but intact with its data, define the trigger for rolling back, and write down how DNS is reverted and how writes made on the new server would be handled. Rehearse the rollback on a copy so the team knows the steps and timing before the real window opens.

Questions teams ask before moving an Open edX site

How much does it cost to move an Open edX site to a new server?

The cost is driven by the amount of work around the move, not by the data copy itself. The main components are the planning and rehearsal time, the cutover window, the verification of learner data and media, and the rollback plan. Cost goes up when the site has custom themes, XBlocks, plugins, large media libraries, external services such as SSO or object storage, or several environments that must be rebuilt in parallel. It goes down when the site runs a standard Tutor configuration and the target environment is ready before the move starts. Ask any provider for a fixed-scope written quote that lists the environments in scope, who performs each step, the rehearsal count, and what is delivered at the end. DeployOpen does not publish a price list, so the quote follows from that written scope.

How long does it take to move a Tutor-based Open edX site?

The duration depends on the environment, the size of the data and the number of rehearsals before cutover. No fixed duration applies to every site. The fastest path is usually a site with a single Tutor project folder, a documented configuration and a target server that is already provisioned with the same Tutor version. Time increases with database size, the volume of uploaded media, the number of custom plugins that need verification, and the number of DNS, certificate and proxy changes. Ask for the timeline to show the preparation, the rehearsal, the maintenance window and the post-cutover checks as separate items, so you can see where time is spent.

What does our internal team need to provide for the move?

Three things must be in place before work starts: access, a maintenance window, and a named owner. Access means administrative access to the current server, the new hosts, the DNS zone, the cloud account or data center network, and any external services the site uses, such as identity providers or storage. The maintenance window must be agreed with the business owners of the courses, because learners and course teams lose access to the site while the old platform is stopped and the copy runs. The named owner is the person who can accept the cutover, approve the rollback decision and confirm that learner records and course content look correct. Without that owner, decisions stall during the window.

Can our own team move Open edX using the Tutor documentation?

A team with Linux administration experience and Docker knowledge can often follow the Tutor data migration guidance, which describes the core steps: install the same Tutor version on both servers, stop the old platform, copy the project root with rsync and start the site on the new server. The risk lies in what the guidance does not decide for you. Your team must confirm the exact Tutor version, the database dump and restore order for MySQL and MongoDB, the handling of media and certificates, the DNS cutover timing, and the rollback path if the new site fails. Teams that choose to do it themselves should rehearse the full sequence on a copy of production first and keep the old server running until learner access is confirmed. If the team lacks time or experience with these steps, a fixed-scope implementation engagement can carry the work.

Can we move to a newer Tutor version during the same relocation?

Treat a move between Tutor versions as an upgrade, not a relocation. A relocation keeps the same Tutor version on both servers so the project root copies cleanly. A version change can alter configuration, container images, database schemas and plugin compatibility, and the Open edX release a Tutor version ships with can carry its own data migrations and deprecations. Open edX states that only the latest named release is supported, so a site on an older release may need several steps before it reaches a current one. Plan the relocation first on the existing version, confirm the site works on the new hardware, and then schedule the upgrade as a separate project with its own rehearsal and rollback plan.

How do we verify learner data and backups after the move?

Verification is a checklist agreed before cutover, not a visual check after it. Take a fresh MySQL and MongoDB dump on the old server and keep it as the rollback copy. After restoring on the new server, compare record counts for users, enrollments and course structures against the source, confirm that a sample of learners can sign in, open a course and see prior progress, and confirm that uploaded media and certificates resolve correctly. Check the backups on the new server by running a restore test on a separate instance, because an untested backup is not a recovery plan. Keep the old server in a stopped but intact state until the owner signs off. Ask the provider to show the checklist and the evidence captured for each item.

What are the main risks during the DNS cutover and how is rollback handled?

The main risks are stale DNS caches, a missing or misconfigured TLS certificate on the new host, data written to the old server after the dump, and external integrations that still point at the old address. Reduce DNS risk by lowering the record time-to-live before the window, testing the new host with a hosts-file override, and deciding in advance who makes the switch. Rollback should be a documented procedure: point DNS back to the old server, restart it, and confirm that writes made during the window are either accepted or reconciled. Ask for the rollback decision point, the time limit for making that decision, and the people authorized to call it.

Which parts of the platform should we check for security after the move?

A new server is a new attack surface, so review access and configuration as part of the move. Confirm that only the intended administrative users and service accounts can reach the new hosts, that secrets in the Tutor configuration are rotated if the old server or its backups were exposed, that the firewall allows only the ports the site needs, and that identity provider and email settings point to the correct services. Check that backups on the old server are protected or deleted under your retention policy once the cutover is accepted. For a formal review of controls, an independent assessor issues any audit report; DeployOpen can prepare the systems and evidence those assessments request.

How DeployOpen scopes and delivers an Open edX server move

DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a Tutor-based Open edX server move, we agree a written scope first, then carry out the move in your environment with a tested DNS cutover and a rollback path.

How we scope

  • Confirm the current Tutor version on the source server and install that same version on the target before any data moves.
  • Inventory the project root, custom plugins, themes, XBlocks, certificates and external services that the new server must reach.
  • Agree in writing the dump windows, cutover window, DNS ownership and the rollback point for the move.

How we build

  • Provision the new server, install the matched Tutor version and verify the empty stack starts before any data is copied.
  • Stop the old platform, copy the project root with rsync, and restore MySQL and MongoDB dumps into the new environment.
  • Test logins, course delivery, media files and email on the new server before the DNS record is changed.

How we hand over

  • Deliver a runbook listing the exact commands, the order of steps, and the checks used to confirm each stage.
  • Document the rollback procedure, including how the old server stays intact until the new one is accepted.
  • Walk your platform and operations teams through the cutover record and the post-move monitoring checklist.

How we support

  • Engagements are fixed-scope, so support after the move is priced separately and only if you choose it.
  • Ongoing support, upgrades and backup verification are available as a retainer after the cutover.
  • Ask us to confirm the support boundary, response expectations and handover items in the written scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.