Merging two Redmine instances

Consolidating two Redmine servers is mostly a data reconciliation problem: IDs, users, custom fields and trackers must be aligned before anything moves. This page explains what maps cleanly, which documented paths exist, and how to sequence a dry run and cutover.

On this page

Merging two Redmine instances: what the move involves and how long it takes

Merging two Redmine servers into one is a reconciliation job followed by a tested data move. The work centers on identifiers, users, custom fields and trackers, because those are where two instances that grew separately will disagree. Effort rises with how far the two instances have diverged: shared naming conventions and a common version make the job mostly mechanical, while different custom field definitions, overlapping login names, duplicate project identifiers and separately edited workflows each add decisions that someone must sign off on before any data moves.

No single built-in importer merges one Redmine into another. The Redmine importers that exist cover CSV files for issues, time entries and users, and the bundled Trac and Mantis importers are obsolete. A merge therefore relies on a documented path you control: a database-level copy with explicit ID remapping, or scripted writes through the REST API, which must be enabled by an administrator and authenticates per user with an API key. Either path needs a written mapping of every source ID to its target ID for projects, users, issues, custom fields, trackers and statuses, because issues reference each of these and a single missed mapping breaks history. Confirm with your team which of the two paths fits the data volume and the attachment storage on both servers.

Before committing to a plan, ask for an inventory of both instances: their Redmine versions, database engines, installed plugins, and any community merge tools they already use. Run the merge first against a copy of both databases and the files directory, then compare project counts, issue counts, journal entries, attachments and time totals against the sources. Plan for the target to be upgraded to the Redmine line you intend to run before the merge starts, so that the cutover is not combined with a version change. Your quote should name who owns the mapping decisions, how many dry runs are included, and how the attachment copy is verified.

Which Redmine data maps cleanly between instances and which does not

This table compares each Redmine data type across the source and target instances, with the target equivalent and the migration note for each. Read it before you write the mapping plan, since rows marked for rebuilding or matching by name will drive most of the reconciliation work. The main takeaway is that database IDs and workflows rarely carry over unchanged, while issues, journals and attachments usually move with their history when references are rebuilt.

Data typeTarget equivalentMigration note
ProjectsProjects with the same identifiers, nested under a parent if neededProject identifiers must be unique in the target. Confirm which source projects become top-level or subprojects before loading issues.
IssuesIssues with new internal IDs in the targetInternal IDs collide between instances. Keep the source ID in a custom field or external reference so parent, relation and link references can be rebuilt.
JournalsJournal entries attached to the matching issueJournal history is tied to the issue and user IDs. Map users first, or history will attribute changes to the wrong person or to no one.
Time entriesTime entries linked to the target issue, project, user and activityActivities are instance-specific lists. Map each source activity to a target activity and confirm the target project allows it.
VersionsVersions within the target projectVersions are project-scoped. Match by name and project, and confirm sharing settings before reusing one version across projects.
Wiki pagesWiki pages in the target project wikiPage titles, parent pages and internal links may break. Check links and attachments after the load.
AttachmentsFiles stored in the target attachment directoryFiles must be copied with their records. Confirm the storage path and file permissions on the target before the test run.
UsersAccounts with new IDs, matched by login or emailMatch on a unique key you have verified. Duplicate people with different logins need a decision, not an automatic merge.
GroupsGroups and memberships recreated in the targetGroup membership is not a copy of user IDs. Rebuild groups and confirm which roles they inherit in each project.
Custom fieldsCustom field definitions in the targetMatch by name and field type. A field with the same name but a different format or list values is a different field and needs its own mapping.
TrackersTrackers in the target, assigned to projectsTracker names can match while their custom fields and default statuses differ. Reconcile the set before mapping issues.
Statuses and workflowsStatuses and transition rules configured per role and trackerWorkflows are not portable. Rebuild them in the target and test each transition for each role that uses it.
Roles and permissionsRoles with permission sets in the targetPermission sets differ between instances. Rebuild roles, then compare permissions for each role you carry over.
Saved queriesQueries in the target, scoped to project or globalQueries reference custom field and status IDs. Re-check their filters after the mapping is complete.

Documented paths for moving data between Redmine servers

A database-level merge restores a copy of one instance's database into a working environment and remaps identifiers so records from both servers can live in a single schema. It keeps the most history, including journals, watchers and relations, because the data is copied as stored. It is also the approach with the least tolerance for error, since every foreign key that points at a user, project, tracker or custom field must be reconciled before the result is usable. Plan the work as a fresh restore on a scratch host, then remap, then test.

  • Fresh restore first: Restore each source database into its own scratch environment before touching anything, so the original servers stay untouched.
  • Identifier remapping: Agree a rule for colliding user, project and issue IDs, then apply it consistently to every table that references them.
  • Version alignment: Both sources must match the target Redmine version and schema. If they differ, the Redmine upgrade guide describes the migration steps that apply.
  • Plugin tables: Records created by plugins need their own mapping, and plugins that were not installed on the target may leave data behind.
  • Attachments: Database rows only point to files, so the files directory must be merged with the same naming rules.

Confirm with your Redmine team how many custom SQL steps the remap requires and whether any step is irreversible before you approve the plan.

Sequence for reconciling, dry running and cutting over two Redmine servers

This sequence takes two separate Redmine servers to one consolidated instance with a reconciled schema, a rehearsed migration, verified data and a retained record of the retired server. Each step ends with an output the client can check before the next one starts.

  1. Inventory both instances and align versions

    The client's administrator and DeployOpen record the Redmine version, Ruby and database versions, installed plugins, themes, attachment storage location and authentication method for each server, then list the projects, active users, trackers, statuses, workflows and custom fields on both. Version differences are resolved first by upgrading the older instance on a copy so both sides run the same release line, using the upgrade steps in the Redmine upgrade guide. The output is a signed-off inventory document and a single target version that both sources can reach.

  2. Reconcile users, fields, trackers and statuses

    DeployOpen and the client's Redmine owners map every overlapping object into one target schema. Duplicate accounts are matched by email address and login, custom fields with the same purpose are merged, and trackers, statuses and workflows are either unified or kept as separate values with clear names. Decisions on ID collisions, such as duplicate project identifiers or issue numbers that must be renumbered, are recorded in a mapping file. The output is an approved mapping specification that lists every source-to-target rule and the owner who approved it.

  3. Build the merge tooling and run a dry run

    DeployOpen writes or adapts the import scripts that apply the mapping, using the REST API where it covers the required resources and database-level work where it does not. The scripts run against copies of both production databases and copies of both files directories, so the source systems are not touched. The team records every error, skipped record and manual decision. The output is a dry-run log and a list of open issues that must be resolved before a real run.

  4. Validate counts, history and attachments

    Using the dry-run output, DeployOpen compares record counts per project, issue, journal entry, time entry, user and attachment between each source copy and the merged copy. Sample issues are checked for journal history, assignee, status changes, relations and attachment links, and a set of files is checked by hash. Access results are checked by signing in as representative users from each former instance. The output is a validation report with every difference explained and accepted by the client's owner, and the mapping updated where needed.

  5. Run a parallel period with the retired instance frozen

    The client's team confirms a period in which both servers stay available, and the retired instance is set to read-only for new issues, edits and uploads while the merged instance receives the agreed daily work. Any change made in the merged instance during this period is logged, and the client's team confirms which instance is authoritative for each project. The output is a reconciliation log with no unexplained differences between the frozen source and the merged copy, and a confirmed change-control rule for the period.

  6. Cut over DNS and change access

    On the agreed cutover date, the team performs a final full export from the frozen source, runs the approved merge on the production target, repeats the count and sample checks, and then moves the hostname or reverse proxy route to the consolidated instance. Access changes include retiring old accounts, updating LDAP or SSO group mappings, rotating API keys and updating integrations, webhooks and email settings that pointed at the old server. The output is a cutover record listing the time of freeze, the final counts, the DNS change and each access change, with a successful sign-in check for each user group.

  7. Decommission the retired server with a retained backup

    After the agreed observation period, DeployOpen and the client's administrator take a final backup of the retired instance, including its database, files directory and configuration, and store it under the client's retention policy. The retired server is then disabled from serving users, its secrets and API keys are revoked, and its hosts are removed from monitoring and DNS. The output is a decommissioning record and a verified backup with a documented restore test, so the client can prove what the retired data contained.

How two source Redmine instances flow into one target during the dry run and cutover

The flow starts with instance A and instance B exporting their issues, time entries, users and attachments through the REST API or database extracts. Those exports pass into a mapping and reconciliation stage that holds the user, custom field, tracker and ID maps, which is where collisions are resolved before any data is written. The same mapped load runs first into a staging target for the dry run, where validation compares counts, attachments and history, and only after that passes is the production target loaded during cutover. Check that each map is frozen before the final run.

Two source exports pass through one mapping stage into staging, then production.

What drives the cost and duration of a Redmine instance merge

This table lists the factors that change how much effort a Redmine merge takes, whether each factor is paid once or recurs, and what to ask for in a written quote. Use it to see which parts of your two servers will expand the scope before you request a fixed-price proposal. The main takeaway is that overlap in users, custom fields and plugins usually matters more than raw issue count.

DriverWhy it changes effortOne-time or recurringWhat to ask for in a quote
Overlapping users and duplicate accountsEach person with accounts on both servers needs a matching decision on which account survives, and history must be re-attributed to one identity.One-timeA user reconciliation list, the matching rule used, and who approves merge decisions.
Divergent custom fields and trackersFields with the same name but different formats, or trackers with different workflows, need mapping rules and sometimes new fields on the target.One-timeA field and tracker mapping table with each conflict and the chosen resolution.
Volume of attachments and journalsLarge file stores and long journal histories increase transfer time, storage checks and the time needed to verify that files still link to their issues.One-time for the merge, recurring storage growth afterwardTotal attachment size and count per server, storage location, and how file checksums are verified.
Redmine version difference between serversServers on different versions must be brought to one target version, which can add upgrade steps before any data moves. Check the supported lines on the download page.One-timeThe versions on each server, the target version, and whether upgrades are included in the fixed scope.
Plugins on each sidePlugins that exist on only one server may need to be installed, replaced or dropped, and their data may need its own mapping.One-time, with recurring maintenance for any retained pluginA plugin inventory for both servers, a keep, replace or retire decision for each, and maintenance terms.
Custom scripts and integrations to rebuildScripts that call the REST API, email-to-issue setups and external links often reference old IDs and must be repointed and retested.One-time to rebuild, recurring if scripts run on a scheduleA list of every script and integration, the owner of each, and tests that confirm they work against the merged server.
Validation cycles in the dry runEach dry run exposes mapping errors that need fixing and rerunning, so the number of cycles depends on how many surprises the data contains.One-timeThe number of dry runs included, what each run must prove, and the sign-off criteria before cutover.

What usually goes wrong when two Redmine servers are merged

Merging two Redmine servers fails quietly more often than it fails loudly. The risks below concern identity, data integrity, attachments, extensions and timing, and each one can leave issues looking correct while their history, links or files are wrong. Settle these points on a dry run before anyone schedules a cutover.

Duplicate user identities

The same person may hold two accounts, one per server, with different logins or email addresses. If you import both without reconciling them, journal entries and time entries split across accounts and authorship history stops matching who did the work. Build a mapping table of source user to target user before the dry run, decide how shared logins are handled, and check that every author on a sample of issues resolves to the intended account.

ID collisions that re-link issues

Both servers number issues, projects, versions and time entries from their own sequences, so the same numeric ID can exist on each side. When records are loaded without remapping, parent references, related-issue links and time entry targets can attach to the wrong record and nothing raises an error. Remap every ID through an explicit lookup table, rewrite references in a second pass, and spot-check parent and relation links against the source.

Custom field type mismatches

A custom field on the source may be a short text, a long text or a list with different allowed values from the same-named field on the target. Values can be truncated, dropped or coerced to the wrong type, and list values that do not exist on the target are a common source of silent loss. Compare field definitions side by side, merge allowed values deliberately, and confirm the length and format limits on the target before loading.

Lost or orphaned attachments

Issue records can arrive intact while the files they reference do not. Attachments live in a files directory on disk, separate from the database, so copying only the database leaves broken links. Filenames may also collide between servers. Copy the source files directory in full, confirm that each migrated attachment resolves to a file with the expected size and checksum, and keep the source copy until after acceptance.

Plugins that block the target upgrade

If the source runs plugins, merging onto a newer Redmine version can fail when a plugin does not support that version. Plugins can also carry their own data tables, which must migrate with the rest. Before choosing the target version, list every plugin on both servers, confirm the target version is supported by each one you keep, and drop or replace the rest. The upgrade guide describes migrating plugins alongside the core database.

Upgrade guide

Cutover without a frozen source

If users keep creating or editing issues on the source during the final copy, the target receives an incomplete snapshot and the two servers diverge. A second load then duplicates or overwrites work. Announce a write freeze, take the final database dump and file copy after it starts, run the migration against that snapshot, and verify record counts against the frozen source before reopening access.

Questions teams ask before merging two Redmine instances

What drives the cost of merging two Redmine instances?

The cost is driven by how much reconciliation the two instances need, not by the Redmine software, which is free under GPL v2. The main cost components are the people doing the work: analysis of both databases, mapping of users, trackers, custom fields, statuses and workflows, scripted or manual data movement, the dry run, cutover, and post-cutover support. Effort rises with the number of ID collisions, the number of custom fields with conflicting definitions, the volume of attachments and time entries, and the number of plugins on each side. Ask any quote to list these work packages separately, state which items are one-time and which recur (such as ongoing support or a retainer), and name the hosting and plugin licensing assumptions.

How long does a Redmine instance merge take?

Duration depends mainly on the amount of mapping decisions and the size of the data, and on how quickly the owners of trackers, fields and workflows can sign off. Expect the timeline to be set by the dry run cycles, because each dry run exposes conflicts that must be resolved before the next run. Other drivers include whether the two instances run different Redmine versions (the upgrade guide describes the migration steps and plugin handling), how many plugins must be reinstalled, and whether a maintenance window exists for cutover. Ask the proposal to state the number of dry runs, the sign-off points, and the cutover window it assumes.

What must our internal team provide for a merge?

A merge needs decisions that only your organization can make. Provide an administrator for each source instance who can export data, read the configuration and approve changes, and a named owner for each tracker, custom field and workflow who confirms how old fields map to new ones. Business owners must sign off on the user mapping, including how duplicate accounts for the same person are merged, and on which closed or archived projects move. Someone must also own access after cutover, including roles, groups and authentication settings. Missing owners are the most common reason a merge stalls, so name them before the dry run begins.

Can our in-house team merge two Redmine instances alone?

Yes, if your team has Ruby on Rails and database experience, time for repeated dry runs, and the authority to make mapping decisions. The work involves reading both databases, scripting ID remapping, and checking the result against the REST API, which the administrator must enable first. Redmine's REST API supports JSON and XML and authenticates with HTTP basic authentication or a per-user API key, so scripted reads and writes are possible. The risks are mistakes in ID remapping, lost attachments, and incomplete user matching. A partner is most useful when the team lacks these skills or cannot dedicate people to repeated testing, and the scope should be agreed in writing either way.

Can the built-in Redmine importers handle a merge from another Redmine?

The built-in importers are not a complete merge tool. Redmine's CSV importer covers issues, time entries and users in bulk, and it is useful for loading selected records, but it does not move every object type, preserve the original IDs or history, or reconcile conflicting custom fields and trackers across instances. Redmine's migration documentation also states that the built-in importers for Trac and Mantis are obsolete, which signals that older import paths should not be trusted without testing. For a merge, most teams combine database-level or API-based scripts with the CSV importer for specific data, and test every step on a copy of both instances first.

How do we verify that history and attachments survived the merge?

Verification should compare counts and content before and after each dry run, and again after cutover. Check issue counts per project, journal entries per issue, time entry totals per user and activity, and the number of attachments and their file sizes. Sample a set of issues across old and new projects and confirm that status changes, assignees, notes and custom field values match the source. For attachments, confirm that files open and that checksums match where the storage layout allows it. Keep the source instance read-only and retain its backup until the owners sign off on the results and the post-cutover support period has ended.

What goes wrong most often when two Redmine instances are merged?

The most common failures are ID collisions, where issues, projects or users from one instance clash with numbers already in use in the other, and conflicting custom fields, where the same name has different formats, options or visibility rules. Duplicate user accounts for one person and mismatched group membership cause access errors after cutover. Plugins that exist on only one side can hide data or break pages, and attachments can be left behind if the file storage path is not copied. Teams also forget scheduled tasks, email settings and API keys that other scripts depend on. A dry run on a copy of both instances, with a written list of mapping decisions, catches most of these before users notice.

Does merging Redmine instances affect access control and security?

Yes. Merging combines accounts, roles and project visibility, so a mapping error can expose private projects or remove access that users need. Review roles and permissions in the target instance before users are moved, confirm which authentication method each merged account uses, and make sure API keys from the source instances are reissued or retired on purpose. Check administrator accounts and remove default or unused ones. Redmine's installation guide notes that SQLite is not suited to multi-user production use, so the target should run on a production database such as PostgreSQL, MySQL or SQL Server. Ask your security team to review the access model with the dry run output.

What your team must provide and what you receive

Your team needs to decide the merge rules before any work starts. Provide administrator access to both Redmine instances, read access to both production databases and both files directories, and a copy of each configuration.yml and installed plugin list. Name one owner with authority to sign off the mapping decisions and the cutover, because most delays come from questions nobody can answer. Decide which trackers, statuses, workflows and custom fields survive into the target, and which are retired or renamed. Decide which identity source wins for each user: if both instances authenticate through LDAP, confirm the directory and the matching attribute (usually the login or email), and if one instance uses local accounts, say whether those accounts should be kept, merged or deactivated. Confirm which community tools or scripts your teams already depend on, since they may need changes for the new IDs.

In return, you receive a set of artifacts you can review without us in the room. The main ones are a mapping document that records every project, tracker, status, custom field, user and group decision and its source value, the migration scripts used to move data, and dry run reports from a copy of both databases showing counts, rejected records and attachment checks. You also receive validation results that compare issue counts, time entries and attachment totals between source and target, and a cutover runbook listing the freeze window steps, rollback points and the people responsible for each step. Ask for the exact format and sign-off steps in the written scope, because they depend on how many instances and plugins are involved. Keep the dry run output with your change records, since your auditors or internal reviewers may ask how the history was verified.

How DeployOpen scopes, delivers and supports a Redmine merge

DeployOpen is a Chainscore Labs company that plans, implements, integrates and supports self-hosted open-source platforms in your own infrastructure. A merge touches identity, data, integrations and cutover at once, so the work is scoped in writing before any server is touched and then supported after go-live.

Fixed scope agreed in writing

Most merges start with a written scope that names the source instances, the projects and trackers to carry over, the identity rules and the acceptance checks. The scope document is the main control on cost and timing. Check that it lists what is out of scope, such as history that will not be migrated, plugin data that will be dropped, or closed projects that stay on the old server. Ask who signs off each reconciliation decision.

Quote follows from the scope

DeployOpen does not publish a price list, so the quote comes from the written scope. The main cost drivers for a merge are the number of source instances, the count of custom fields and trackers that need mapping, the volume of attachments, and how many plugins are involved. Ask the quote to separate one-time work, such as the dry run and cutover, from any recurring support, and to state what happens if the dry run uncovers new mapping problems.

Dry run before cutover

Delivery includes a rehearsal on a copy of both instances before any production change. The rehearsal shows which user accounts collide, which custom fields differ in type, and whether attachments and API scripts still resolve. Agree the pass criteria for the dry run before it starts, because the cutover date should depend on those results, not on the calendar.

Identity and access reconciliation

Merged users need one account per person, and access must survive the move. DeployOpen maps accounts by a stable key, reviews duplicate logins and role assignments, and confirms how authentication works after consolidation, including any LDAP setup. Confirm with your security team which admin accounts are kept, how API keys are rotated, and who approves access changes during the cutover window.

Ongoing support and upgrade retainers

After cutover, the merged instance needs patching, backups and plugin maintenance. DeployOpen offers ongoing support and upgrades as retainers, which can cover a Redmine line change such as moving to the fully supported 7.0 line. Ask whether the retainer includes plugin compatibility testing, restore tests and response times, and whether those terms are written into the agreement before work starts.

Redmine upgrade guide

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.