Migrating from DataPusher to XLoader: what changes and how much work it takes
Moving a CKAN portal from DataPusher to XLoader changes the loader that fills the DataStore, the API token that loader uses to call CKAN, the job worker that runs each load, and the way existing column types are kept when a resource is reloaded. The effort depends on how many resources the portal has and how many column overrides it carries. The CKAN DataStore documentation describes DataPusher as legacy and XLoader as the officially supported tool for loading uploaded or linked files, so the destination is settled. What is not settled is your portal's inventory. Start by listing every resource loaded into the DataStore, along with any Data Dictionary overrides, because that list sets the size of the work. Confirm on a staging copy that a reloaded resource still answers datastore_search queries as it did before.
Work in phases so each step can be checked before the next starts. First, install XLoader on a staging portal, create the API token it needs under a dedicated CKAN account, and run a job worker there. Second, run the migrate_types command so that existing column types are kept on reload, then review those types against the Data Dictionary for any columns you want to change. Third, reload a small set of resources, including one with text columns and one with an override, and compare row counts and column types with the originals. Only after those checks pass should you move the production portal. Reload resources in batches, keep DataPusher configured until every resource has loaded through XLoader, and record each batch so a failed resource can be traced to a single step.
Effort rises with four things: the number of resources in the DataStore, the size of the files, the number of columns whose types were set by hand, and the number of resources that were loaded as text. Resources that already have correct types need only a reload and a row count check, while each column override needs a check that the reloaded type still matches the filters users rely on. Ask any partner for a quote built from a written inventory of resources, overrides and file sizes, and ask who runs the staging tests and who signs off each batch. Ask which steps run on your own servers and which need access to the production CKAN database. The work does not end at the switch, so confirm who will own the job worker, its API token and its timeout settings once the migration is complete.
What maps cleanly when migrating from DataPusher to XLoader
This table compares what carries over when a portal moves from the legacy DataPusher service to XLoader, and what to check on the installed XLoader version. Read each row as a point to test in staging before cutover, since the rows marked to confirm depend on your XLoader release. The main takeaway is that migrate_types keeps existing column types, and later type changes go through the Data Dictionary and a reload.
| Area | What carries over from DataPusher | What to confirm before cutover |
|---|---|---|
| Uploaded and linked files | XLoader is the officially supported tool for loading uploaded or linked files into the DataStore. | To confirm: test one uploaded file and one linked file in staging on your installed version. |
| Existing DataStore tables | Tables already in the DataStore are the starting point for the migration. | To confirm: how your installed version treats an existing table on its first reload. |
| Column types | The migrate_types command keeps the column types that existing tables already have when moving from DataPusher. | To confirm: run migrate_types on a staging copy and compare types for a sample of resources. |
| Data Dictionary overrides | Admins can change column types in the Data Dictionary and reload the resource to apply the change. | To confirm: that the override takes effect on reload in your installed XLoader version. |
| API token | From CKAN 2.10, XLoader needs an API token to run its jobs. | To confirm: which account owns the token, what permissions it needs and where the XLoader config reads it. |
| Job worker | Loads run as background jobs, so a job worker must be running for resources to reach the DataStore. | To confirm: the worker is running and picking up jobs before you start a bulk reload. |
| Reloading resources | Admins can reload a resource after changing its Data Dictionary types. | To confirm: how to reload many resources at once and what a reload does to existing rows. |
| Loader support status | DataPusher is legacy and is not the supported loader for the DataStore. | To confirm: that no resource on your portal still depends on the DataPusher service before you retire it. |
Which documented tools and paths handle the move
Four parts of this migration come from upstream: the extension that loads files, the DataStore guidance that names it, the Data Dictionary for column types, and the token and worker setup. Each card explains what the tool does for this move and what your team should confirm in its own environment before cutover.
The ckanext-xloader extension
The ckanext-xloader extension is the loader that replaces DataPusher on your portal. Its migrate_types command keeps the column types that existing DataStore tables already use, so a reload does not quietly change the schema that API clients depend on. Confirm the command's options and behavior in the XLoader version you install, and run it against a copy of your DataStore tables before you touch live resources.
CKAN DataStore documentation
The CKAN DataStore documentation names XLoader as the officially supported tool for loading uploaded or linked files, and it describes DataPusher as legacy. Use this page as the reference when you explain the change to your security or architecture reviewers, since it states which loader the project supports. Check that the docs version matches the CKAN release you run, and confirm your DataStore database permissions still work after the loader change.
CKAN DataStore docsThe Data Dictionary
The Data Dictionary is the CKAN interface where admins set labels, descriptions and type overrides for a DataStore resource. After a migration, it is where you correct a column that loaded as text or set the type you want, then reload the resource. Confirm which roles can edit the dictionary on your portal, and test one override and reload on a staging resource to see how the type changes before you rely on it for published tables.
API token and job worker
XLoader runs as a separate job worker process that handles loading jobs queued by CKAN, and on CKAN 2.10 it needs an API token to act on your portal. The XLoader repository describes how to set up the token and the worker, and most of the setup work sits in those two pieces. Confirm the token belongs to an account with the rights it needs, that the worker runs under a supervisor, and that it can reach both CKAN and the DataStore database before you switch loaders.
XLoader repositoryMigrating from DataPusher to XLoader in phases: inventory, pilot, parallel run, cutover
Moving from DataPusher to XLoader works best as a sequence of checkpoints: record what DataPusher built, prove the change on a pilot, compare a staging copy, then switch production and retire the old loader. Each phase ends with a written sign-off from the client's data owner. The result is a CKAN portal where migrated tables keep their agreed column types and the Data API keeps serving them after the switch.
Inventory DataPusher resources and tables
DeployOpen lists every resource DataPusher loaded into the DataStore, with its table name, each column's type and any Data Dictionary overrides set on those columns. The client provides CKAN sysadmin access and read access to the DataStore database through the read-only user, so the inventory reflects what is live. Data owners then mark which tables they consider critical. The step is done when the inventory names every table, its column types and overrides, and the data owner has reviewed the document in writing.
Build a pilot CKAN with XLoader
DeployOpen builds a pilot CKAN instance that matches the production CKAN version and extensions, installs the XLoader extension, and configures the API token that XLoader needs from CKAN 2.10. A job worker runs against the pilot so uploaded and linked files can load. The client provides a pilot environment separate from production, the production CKAN version and configuration, and a list of extensions in use. The step is done when a test file loads into the DataStore through XLoader and the job reports success.
Run migrate_types and reload a sample
DeployOpen runs the migrate_types command on the pilot so existing DataStore tables keep the column types DataPusher created. It then reloads a representative set of resources, including small and large files, tables with Data Dictionary overrides, and both uploaded and linked files. The client's data owner approves in writing any type change they want, which is made in the Data Dictionary and followed by a reload. The step is done when reloaded tables match the inventory and every approved change is recorded.
Compare a staging copy of production
The client provides a staging copy of the production CKAN site and its DataStore database. DeployOpen first confirms with the team whether both loaders can run side by side in that copy. Where it is supported, each loader loads the same resources and the results are compared with production. If it is not supported, the comparison runs against the pilot instead. For each table, the comparison checks column types and row counts against production. The step is done when every table matches or each difference is logged with an explanation the data owner accepts.
Cut over production to XLoader
DeployOpen switches the production CKAN site to XLoader, runs migrate_types against production tables and reloads resources in the order the data owner agreed. Before the change, the client takes a backup of the DataStore database and confirms a rollback path with its operations team. The client provides an agreed change window and access to the production CKAN admin and job workers. The step is done when every planned resource reloads with a successful job and the type checks from staging pass on production.
Check the Data API after reload
DeployOpen runs a fixed set of checks against the production Data API: datastore_search queries for filters and paging on sample tables, the dump downloads, and the Data Dictionary labels shown on dataset pages. It also compares row counts with the staging results. Where a check fails, the team traces the job logs and reloads only the affected resources. The data owner signs the results. The step is done when every check passes or has an accepted explanation, and the signed results are filed with the migration record.
Decommission DataPusher after sign-off
Once the data owner and the client's sign-off are on file, DeployOpen stops the DataPusher service and removes its configuration and credentials from the CKAN environment. The inventory, the migrate_types results and the signed checks are kept with the migration record. The client provides written sign-off and confirms how long it must retain the pre-cutover backup under its own policies. The step is done when DataPusher no longer runs in production and the migration record is complete.
Checkpoints gate every phase, and failed checks loop back to fixes
The diagram starts with the inventory of DataPusher resources and ends with decommissioning DataPusher after the staging run and cutover. The key hand-off is from the platform owner, who sets the API token and job worker, to the pilot run, where migrate_types keeps the column types DataPusher already set. After the pilot reload, the data owner compares column types and row counts with the source. If either differs, the path goes to Dictionary fixes and then back to a pilot reload before the check repeats. Only a matching pilot moves on to the staging parallel run.
Migration phases with checkpoint owners and a fix-and-reload branch.
How the API token, job worker and column types fit together on reload
Three things must line up before a reload works on a migrated portal. First, XLoader needs a CKAN API token, and this requirement applies from CKAN 2.10, so confirm what your CKAN version requires before cutover. Second, a job worker must be running. XLoader runs as a background job, so a reload can be accepted by the web interface while nothing moves. Check that the worker is alive and consuming the queue before you test any resource, or every reload will appear to hang. Ask whoever runs the platform which queue the worker listens to, because a worker on the wrong queue looks healthy and still does nothing.
The third link is column types, and it is the one that surprises teams after cutover. A reload runs the loader again over the resource file, so types can change even though the data did not. A column that DataPusher stored one way may load differently on the second pass, which can break a downstream query or API filter, and nothing in CKAN may flag the change. Run migrate_types during cutover so the types DataPusher set are kept. If a column still loads wrong, set its type in the Data Dictionary and reload, and decide per resource which fix applies before the reload runs.
Treat the token and worker settings as version-specific, and confirm them before you install anything. Read the README of the XLoader release you plan to run and match its token setup, worker command and migrate_types usage to your CKAN version. The ckanext-xloader repository is the place to start. Then run one test reload on a copy of a representative resource, compare the column types before and after in the Data Dictionary and in datastore_search output, and record the result as your cutover check. Keep that record with the change ticket, since it is the evidence your team will want if a dataset later shows different types.
What drives the cost and duration of the move
This table compares the factors that change the effort and schedule of the move, and what each one asks of your team. Read each row as a question to answer about your portal before you request a quote. The main takeaway is that large files, many Data Dictionary overrides and a missing staging copy tend to change the plan the most.
| Driver | What raises the effort | What lowers it or what to ask for in a quote |
|---|---|---|
| Number of resources and DataStore tables | Many resources and DataStore tables mean more jobs to run, check and reload one by one. | Ask for a resource inventory per dataset, with the DataStore tables that must be reloaded and those that can keep their types. |
| Size of the largest files and job timeouts | Large files need longer job timeouts on the worker, and oversized uploads may fail before loading starts. | Ask for the largest files by size and the timeout and upload limits set on the worker, then plan the test runs. |
| Data Dictionary overrides to review | Each overridden column needs a type check after migrate_types runs and a reload to confirm the result. | Ask for a count of overridden columns per table, and confirm which overrides can be cleared before the reload. |
| CKAN version and whether an upgrade comes first | An older CKAN core may need an upgrade before the API token setup, which adds a separate scope item. | State your exact CKAN version and patch level; if an upgrade is already done, that scope item drops out. |
| Deployment shape | A separate worker host needs its own CKAN install, config file, Redis and database access, plus build time. | A single host keeps scope smaller; ask whether the quote covers worker build, queues and timeouts. |
| Testing and sign-off requirements | Named reviewers, test cases for each reloaded table and formal sign-off add review rounds to the plan. | Agree the test cases, reviewers and sign-off steps in the written scope before work starts. |
| Staging copy | Without a staging copy, reloads and type changes run against production data, so rollback planning is added. | Ask whether a staging copy exists and who provisions it; a copy close to production shortens test cycles. |
What goes wrong when migrating from DataPusher to XLoader and how to prevent it
Most failures in a DataPusher to XLoader move come from three places: the column types and Data Dictionary entries that users depend on, the token and worker settings that let jobs run, and the order in which resources are reloaded and retired. Each card names one failure and the check that catches it before users notice. Run these checks on a small set of resources first.
Reloading before migrate_types runs
Reloading a resource in production before running migrate_types lets XLoader infer column types again, so a column that behaves as a number can change type and break existing queries, downloads and API clients. The migrate_types command keeps the column types DataPusher assigned, so run it on a copy of the DataStore first. Then compare the types returned by your current API calls with a saved baseline, and confirm the command's options for your version in the ckanext-xloader repository.
XLoader repositoryMissing API token or job worker
XLoader needs an API token that CKAN accepts, and uploaded resources sit in a job queue until a running job worker picks them up. A resource can look fine after upload while nothing reaches the DataStore, because the worker is stopped, reads a different configuration, or uses a token that is missing or revoked. Before cutover, load one test resource, confirm that its job finishes and its table appears in the DataStore, and check the token and worker settings for your CKAN version.
Files over size limits or timing out
Files larger than the configured size limit are rejected, and long loads stop when they hit the job timeout, which can make failures easy to miss on the resource page. Pull the current limit and timeout values from your configuration and compare them with the sizes of your largest resources. Load the largest file as a rehearsal, then check the job log for size or timeout messages before you schedule the full reload.
Data Dictionary overrides lost on reload
Column labels, descriptions and type overrides live in the Data Dictionary, and XLoader applies type overrides on reload when columns were loaded as text. If the dictionary is edited on one loader but a reload runs on the other before anyone checks it, published tables can drift from what the dictionary says. Record the dictionary for every migrated resource before cutover, then compare it with the DataStore after each reload.
DataPusher retired before sign-off
Running DataPusher and XLoader side by side lets you compare row counts, column types and query results for the same resources before anything is switched off. Retiring DataPusher before the parallel comparison is signed off removes the fallback you need if XLoader output differs from what consumers expect. Agree the comparison checklist with data owners in writing, record who signed off each resource, and only then remove the DataPusher configuration and service.
DataStore docsBulk reloads without a rollback plan
Reloading every resource in one run makes a bad load hard to isolate, because type, timeout or token errors can affect many datasets at once. Reload in batches, starting with a small set of resources from different organizations and file formats, and check each batch against the comparison baseline before starting the next. Write the rollback plan before the first batch, naming how to restore a resource's previous table from the DataStore database backup and who makes that call.
How much effort, time and input does a DataPusher to XLoader migration need?
What does a DataPusher to XLoader migration cost, and who pays for each part?
The cost comes from three parts: your internal staff time, any fixed-scope engagement, and hosting. Internal staff time covers the CKAN administrators who prepare the staging copy, run the migration commands and reload resources, plus the data owner who reviews column types and the sign-off owner who accepts the result. If you use a partner, the engagement is priced from a written scope that lists the portals, resources and DataStore tables covered. DeployOpen does not publish a price list. Hosting covers the XLoader job worker and the staging environment. The migration work is one-time, while hosting recurs for as long as those systems run. Costs rise with the number of tables, the number of column types that need review, and the number of CKAN instances involved. Ask each vendor to separate one-time work from recurring hosting.
How long does a DataPusher to XLoader migration take, and what sets the duration?
The duration depends on how many resources and DataStore tables the portal holds, how many column types need a decision, and how much staging testing your team requires before cutover. No duration figure applies to every portal, so ask for one in the written scope that matches your own counts. The main factors are:
- Table count and size, since reloading large files takes longer
- Column types that need review by the data owner
- Whether the CKAN version must be upgraded first
- Availability of the data owner and the sign-off owner
- Staging validation and the window for switching over
Ask for the sequence of steps, the reviewer for each step, and the date each sign-off is expected.
What access and inputs does our team need to provide?
The migration needs four inputs from your side: access, a staging copy, a data owner and a sign-off owner.
- CKAN sysadmin access to the portal, including the ability to create the API token that XLoader uses on CKAN 2.10 and later
- A staging copy of the portal and its DataStore, so reloads and type changes are tested before production
- A data owner who approves each column type change and each Data Dictionary override
- A sign-off owner who accepts the result and decides when the old service is switched off
Also name who can reach the job worker host and its logs, because loads run there and troubleshooting starts there. Confirm these people and their time before the written scope is agreed.
Can our own team complete a DataPusher to XLoader migration without a partner?
Yes, a team with CKAN experience can do the migration alone if it has administrator access, a staging environment and time for the type review. A partner adds a written plan agreed before work starts, hands-on setup of the worker, token and migrate_types run, staging tests, and documentation your operators can follow later. DeployOpen works inside your own cloud accounts, data centers or air-gapped networks, so the systems stay under your control. Consider outside help if no one on the team has upgraded a CKAN extension before, if the portal holds many tables, or if the sign-off owner needs an independent record of each step. Whichever route you choose, the data owner and sign-off owner must still be staffed by your organization.
Do existing DataStore tables and their URLs change after migrating to XLoader?
The purpose of the migrate_types command is to keep existing column types when moving from DataPusher to XLoader, and administrators can change column types in the Data Dictionary and reload. Confirm on your staging copy whether any table name, resource ID or API endpoint changes for your CKAN version. In CKAN, DataStore tables are keyed by resource ID, so any client that calls the Data API by resource ID should be tested after the switch. Also re-check saved queries, dashboards and downloads that your applications depend on. The XLoader project repository is the place to read how the command behaves in the version you plan to run.
What happens if our CKAN portal runs a version older than 2.10?
XLoader needs an API token from CKAN 2.10, so a portal older than 2.10 has to be upgraded before the move. CKAN's release policy supports the latest patch of the current minor version and the previous minor version, and outdated patch releases lose support once a newer patch ships. The current minor release is 2.12.0, released on August 26, 2026, alongside maintenance releases 2.11.6 and 2.10.11. Patch releases do not break backwards compatibility, but minor releases may include incompatible changes, so treat the CKAN upgrade as a separate project. Confirm your target version, support status and extension compatibility before you start.
What should we ask for in a written quote for this migration?
A written quote should state the scope, the deliverables, who performs each task, and the assumptions behind hosting and access. Ask for the following in the quote:
- The CKAN and XLoader versions, the portals and the DataStore tables in scope
- The number of resources to reload and the approach for column type review
- Which tasks your staff perform and which the partner performs, with the inputs you must provide
- Staging validation, cutover steps and the acceptance criteria your sign-off owner applies
- Documentation, handover items and the support that follows the migration
- Hosting assumptions for the worker and staging, and the change process if scope grows
DeployOpen does not publish a price list, so the quote follows from the written scope. A vague scope produces a vague quote.
How DeployOpen scopes, delivers and supports the move
DeployOpen treats the move from DataPusher to XLoader as a scoped change to your CKAN DataStore loading path, run inside your own infrastructure. We confirm which resources and column types need to survive the switch, then build, test and document the change so your team can run it.
How we scope
- The written scope lists your CKAN version, the DataPusher resources to migrate, and the column types to keep.
- We confirm the API token XLoader needs on CKAN 2.10 and who will hold it.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- Install XLoader and configure a job worker in your environment, then confirm jobs run end to end.
- Run the migrate_types command from ckanext-xloader on a DataStore copy so existing column types carry over.
- Test reloads of representative resources, including Data Dictionary type overrides, before changing production.
How we hand over
- A written runbook covering the worker setup, API token handling, and the reload steps for each resource.
- A column type inventory that records which types were kept, changed in the Data Dictionary, or reloaded.
- Knowledge transfer to your platform team on monitoring job queues and rerunning failed resources.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers.
- Support can cover troubleshooting for jobs that fail, time out or leave resources without DataStore tables.
- Confirm with your team who owns the worker host and on-call response before the migration is scheduled.

