What a Redmine server migration involves and how much effort it takes
When the database engine and the Redmine version stay the same, moving Redmine to new hardware or a container is a copy and verify job, not a data conversion. You dump the database, carry the files directory and configuration across, rebuild the Ruby environment, and prove the new server matches the old one before the DNS cutover. The effort comes from how much has to be copied, how closely the environment must match, and how long users can be without the tracker. Nothing in this section gives a price or a duration, because those follow from a written scope that names your components and your downtime window.
Four factors drive the effort most. The first is plugins. Each plugin must support your Redmine version and may need its own migrations, and a plugin that stores files outside the files directory adds a second copy to move, which the backup guide flags for plugins such as DMSF. The second is attachment storage. Confirm where attachments_storage_path points and how large that location is, because it often dominates transfer time. The third is database size and engine, which set the dump, restore and verification time. The fourth is Ruby and gem alignment. Carry Gemfile.lock across and confirm the target Ruby version against the installation guide, since a mismatch surfaces as failures that look like data problems. The downtime window ties these together, so ask the partner to test the restore on a copy first and time it.
Ask any partner for a written scope that lists every plugin with its version and source, the attachment and plugin file locations, the database size, the target Ruby and Redmine versions, the required cutover window, and the rollback plan. Ask who runs the verification pass, which should compare project, issue and attachment counts and log in as a test user on the new host. Ask whether a later upgrade is included, because moving first and upgrading later are separate pieces of work, and mixing them in one window raises risk. Your own team should confirm the same facts before asking for a quote, since missing details are the most common reason an estimate changes.
Which parts of a Redmine install move cleanly and which need extra work
This table compares each part of a Redmine installation with where it sits on the new server and what needs attention during the move. Read it as a checklist: items marked as straightforward copy over with a dump and restore, while plugin-managed storage, optional components and version-dependent files need a deliberate decision before cutover.
| Component | Where it lives on the new server | Migration notes |
|---|---|---|
| Database | Production database server or container volume | Dump and restore on the same engine and version. Changing the database engine is a separate migration project, not part of a server move. |
| Files directory or attachments_storage_path | Path set by attachments_storage_path, or the default files directory | Copy with permissions intact. Missing attachments usually show up as broken links after cutover, so compare file counts. |
| config/database.yml | config directory of the new Redmine install | Recreate or copy with the new host, port, credentials and pool settings. Do not assume the old host name still resolves. |
| config/configuration.yml | config directory of the new Redmine install | Carry over email delivery, storage and repository settings. Review paths and host names that point to the old server. |
| Gemfile.lock | Root of the new Redmine install | Keep the lock file so gem versions match the tested install. Regenerating it can change versions of Rails dependencies and plugin gems. |
| Third-party plugins | plugins directory of the new Redmine install | Confirm each plugin supports the target Redmine and Ruby versions. Run plugin migrations after the database restore. |
| Plugins that store files outside the standard directory, such as DMSF | Storage location defined by the plugin configuration | Back up the plugin's external storage separately. A dump of the database alone will not carry these files. |
| Optional components: ImageMagick, Ghostscript, Pandoc | Operating system packages or container image layers on the new host | Install and verify versions again on the new host. Previews and conversions fail quietly when a binary is missing. |
| Sidekiq and background job queue | Worker process and its Redis or queue service on the new host | Point workers at the new database and queue. Stop the old workers before cutover so jobs do not run twice. |
Documented backup, restore and upgrade paths for relocation
Moving Redmine to new hardware or a container is a same-platform operation, so the documented backup, restore and upgrade steps cover most of the work. The cards below follow those steps in order, from what to keep on the old server to what to verify on the new one.
Items the backup guide says to keep
The backup and restore guide lists the database, the files directory or the attachments_storage_path location, config/database.yml, config/configuration.yml and Gemfile.lock. Inventory each item on the old server before you start, because a missing attachments directory or lock file is the most common reason a relocated instance behaves differently. Also check whether any plugin, such as DMSF, stores files outside the standard directory, since those files will not be in the usual location.
Backup and restore guideDatabase dump and restore
Take the database dump while Redmine is stopped or in read-only use, so issues, journals and time entries are captured in a consistent state. Restore it into the target engine, which must match the supported database and version range for the Redmine release you run. Confirm the character encoding and collation survive the restore, since mismatches show up later as garbled text in old issues.
Copying files and configuration
Copy the attachments directory and configuration files to the new host with ownership and permissions intact, so the application user can read and write them. Point attachments_storage_path at the new location if the path changes. Check that configuration.yml and database.yml reference the new database host and credentials, and that secrets stored there are rotated if the old host is being retired.
Migrations, cache clear and restart
The upgrade guide sequence applies here when the Redmine version or plugin set changes during the move: run db:migrate, then redmine:plugins:migrate, clear the cache and restart the application. Keep Gemfile.lock from the old server so gem versions match what was tested, and confirm each plugin supports the Redmine and Rails version you are running. Read the plugin release notes before the cutover window.
Upgrade guideREST API as a read-only check
After restore, use the REST API to confirm migrated data matches the source. Enable the API for an administrator account and query projects, issues, users and time entries, then compare counts and a sample of records with the old instance. Use the read-only calls to verify, and avoid writing test data to production. Remember that the API must be enabled by an administrator before it responds.
REST API referenceNo third-party importer needed
A same-platform relocation does not need a migration script, because the data already uses the Redmine schema. The built-in Trac and Mantis importers are obsolete and not working, so they are irrelevant to this move. Use the backup and upgrade paths instead, and reserve importer work for data arriving from other trackers.
How the parts move from the old server to the new one
The move starts on the old host, where the database, the files directory and the configuration are captured into one backup set. That set crosses a trust boundary to the new host or container, which must run the same Redmine version before anything is restored. After the restored database, files and configuration pass a rehearsal check on the new host, DNS is switched to point users there. Check each hand-off before you cut over, because a missing file or a version mismatch surfaces only after users arrive.
Backup set moves across the trust boundary before DNS cutover.
The sequence from inventory to decommissioning the old server
This sequence moves a Redmine installation to new hardware or a container with a known starting point, a tested restore and a single planned cutover, so the old server stays available for rollback until the new one is verified.
Inventory the installation and its dependencies
The team records the exact Redmine version, the Ruby version, the database engine and version, the web and application server setup, and the optional components in use, such as ImageMagick, Ghostscript, Pandoc and Sidekiq. They list every installed plugin with its version, check the Gemfile.lock, and identify where attachments are stored, including any plugin such as DMSF that keeps files elsewhere. They also note scheduled tasks, mail settings and LDAP connections. The step is done when the client has a written inventory that the team and the client both signed off on, and no file location or plugin is left unexplained.
Build the target at the same versions
The team builds the new server or container with the same Redmine and Ruby versions the old server runs, using the same database engine and a compatible version of it. Any move to a newer Redmine release is treated as a separate planned upgrade, with its own rehearsal, rather than being mixed into the relocation. Plugins are installed at the versions that the old server runs, and the Gemfile.lock is used to reproduce the bundle. The step is done when Redmine starts on an empty database with the same plugin list and the team can log in as an administrator.
Rehearse the restore on a copy
The team takes a backup of the database, the files directory or attachments_storage_path location, config/database.yml, config/configuration.yml and Gemfile.lock, then restores it onto the target. Plugin migrations are run as the upgrade guide describes, followed by a cache clear and restart. The team records each error, missing path or permission problem and fixes it in the build notes. The step is done when a full restore completes without manual database edits, and the team can repeat it from the written procedure.
Compare data and attachments in parallel
With the rehearsal copy running, the team compares record counts for projects, issues, users, time entries and wiki pages against the old server. They open a sample of issues with attachments, check that files download and match in size and checksum, and confirm that custom fields, trackers, roles and workflows carry over. Notification and email settings are checked on the copy so outgoing mail does not reach real users. The step is done when the differences are either zero or explained and accepted by the client's named owner.
Freeze writes and run the final sync
At an agreed time, the client announces a freeze, users stop editing, and the team disables scheduled jobs and background workers on the old server to prevent changes during the copy. The team then takes a final database dump and a final file sync, restores both on the target, and repeats the count and attachment checks from the previous step. The step is done when the new server holds the final state, the old server is in read-only or stopped mode, and the freeze window is closed in writing.
Cut over DNS and the reverse proxy
The team points the Redmine hostname to the new server, updates the reverse proxy or load balancer configuration, and confirms TLS certificates are valid for that name. They check login through the chosen authentication method, API access with a test key, email delivery and attachment downloads from a client browser. Where DNS caching or TTL affects the switch, the team confirms the timing with the client's network owner before cutover. The step is done when smoke tests pass from more than one network location and the old server no longer receives user traffic.
Decommission the old server after retention
The old server is kept powered and unchanged for the retention period the client sets, so the team can roll back by repointing DNS if a fault appears. Once the client confirms the new server is accepted, the team archives a final backup of the old installation according to the client's records policy, removes its scheduled jobs and credentials, and deletes the data from it. The step is done when the client has signed the decommissioning record and the archive location and deletion date are written down.
How DNS cutover and the final sync avoid lost updates
The final sync only protects data if nobody writes to the old server while it runs. Freeze writes before the last database dump and files copy: announce a maintenance window, put the old Redmine into read-only mode or stop its application and background workers, and confirm that no issue edits, time entries, wiki changes or email-created issues are still arriving. Email is the easy one to miss. Incoming mail processing and any scheduled tasks on the old host should be disabled before the window opens, not after the copy finishes, or a ticket created during the gap will exist only on the server you are leaving. Agree in advance who can approve a late change and how a user who is mid-edit at freeze time will be told to resubmit.
DNS timing is a separate decision that has to be made before the window. Ask your DNS owner for the current TTL on the Redmine hostname and lower it well ahead of the change, so resolvers stop caching the old address. Agree the exact record change, the time it goes live, and who watches the new server during the first hours. Keep in mind that some clients will keep using the old address until their cache expires, so the old server must keep answering safely for that period. The team should confirm, on the new server, that attachments resolve from the files directory or attachments_storage_path, that outgoing notifications are enabled exactly once, and that every scheduled task (for example, rake jobs run by cron or a scheduler) is active on one host only. Check the old host's crontab and any systemd timers, since a copy of the configuration can carry them over unnoticed.
Once the new server is serving traffic, put the old one into a safe state: stop the application or keep it read-only, and disable its cron jobs and mail intake so it cannot write. Rollback depends on the old database and the backup taken at freeze time, so do not delete either until the new server has been accepted, which should be defined in writing with a fixed date and checks for issue counts, attachments, logins and notifications. If the new server has to be abandoned, you can only return to the old one cleanly if its data is still intact and any writes made on the new server are exported and reconciled by hand. Ask your partner or internal team to document that decision point and the retention period for the old backup before the cutover begins.
What drives the cost and duration of a Redmine move
This table compares the factors that change how much work a Redmine relocation takes and how long the change window must stay open. Read each row as a question to answer about your installation before asking for a quote. The main takeaway is that plugin count, version changes and change freeze tolerance usually move effort more than raw data volume.
| Driver | Effect on effort | What to ask for in a quote |
|---|---|---|
| Number and type of plugins | Each plugin needs a compatibility check, its own install and testing. Plugins with native extensions or external services add the most work. | A plugin inventory with versions, a compatibility check per plugin and a named fallback for any plugin that does not run on the target. |
| Plugin version change required | If the target Redmine line needs newer plugin releases, the move becomes an upgrade with rework and regression testing. | Whether plugin upgrades are in scope, and who decides when a plugin is dropped or replaced. |
| Attachment size and storage location | Large attachment sets extend copy and verification time. Plugins that store files outside the files directory need separate transfer steps. | Total attachment size, the attachments_storage_path location, and a list of any plugin storage paths to move and verify. |
| Database size and engine | Dump, transfer and restore time grows with data volume. Moving between database engines adds conversion and validation work. | Database engine and version on both sides, data size, and the dump and restore steps with checksum or row-count verification. |
| Custom themes | Custom themes need to be copied and checked against the target version, and visual regressions are common after a move. | Whether custom themes are in scope and the testing pages expected to be reviewed. |
| LDAP settings | LDAP connection settings, certificates and service accounts must be recreated and tested on the new host, including network paths to directories. | Confirmation of directory reachability from the new host, certificate handling and a test sign-in plan for each directory. |
| Sidekiq and background jobs | Running Sidekiq or other background queues adds services to configure, start and monitor. Jobs left queued during cutover can cause duplicate or missed work. | Whether background jobs run in production, how the queue is drained before cutover and which services are rebuilt. |
| Change freeze tolerance | A short freeze window forces a final incremental sync or a rehearsed cutover. A longer tolerance allows a simpler dump and restore. | The maximum freeze window agreed in writing, the rollback point and who approves go or no-go at cutover. |
| Combined version upgrade | Moving and upgrading in one window multiplies the checks, since database migrations and plugin migrations must run on the target. Separating the steps usually makes each one easier to verify. | Whether the move and upgrade are one engagement or two, the source and target versions, and the migration steps that will be tested on a copy first. |
Why Gemfile.lock, plugins and the Redmine version must line up
The new server has to match the old one in three places before any data moves: the Ruby version, the gem versions and the Redmine release. Start by confirming the Redmine stable lines and their support levels on the Redmine download page, because the target version decides which Ruby versions are valid. Redmine 7.0 runs on Rails 8.1 and supports Ruby 3.2, 3.3, 3.4 and 4.0, and does not support JRuby. If the current installation runs an older Ruby than the target release supports, that gap is a change you must plan for, not something the copy will fix.
Carry over Gemfile.lock from the source installation so the new server resolves the same gem versions the working system already uses. Without it, Bundler resolves fresh versions from the Gemfile constraints, and a gem that changed between releases can break behavior that worked yesterday. Confirm that the file matches the Redmine release you are moving, then run bundle install on the new host and check that it completes without changing the lock file. Keep the old lock file in your backup set as well, since the backup guide lists it among the items to keep.
Every third-party plugin needs a check against the target version before cutover. Plugins are the most common reason a move stalls, because each one declares or assumes a range of Redmine versions and some stop working after a Rails change. For each plugin, confirm that a release exists for the target Redmine version, record its current version, and test it on a copy of the database. Where no compatible release exists, decide whether to replace the plugin, drop the feature or delay the move. A same-version move is simpler than moving and upgrading at once, so if a plugin blocks the target version, keep the existing release, move first, and schedule the upgrade as a separate change with its own test cycle.
What usually goes wrong in a Redmine relocation and how to prevent it
Most failed Redmine moves are not database failures. They come from the parts of the installation that sit outside the database: files, gems, plugins, mail settings and optional tools. Each card below names one of these failure points and the check that prevents it.
Attachments missing after restore
Issue attachments, wiki uploads and documents live in the files directory or the path set by attachments_storage_path, not in the database. A restore that copies only the database loads every issue but shows broken download links. Before cutover, confirm the storage path on the old server, copy that directory with permissions intact, and open a sample of old attachments on the new host. Some plugins, such as DMSF, store files in their own locations, so list those separately.
Gem mismatches from skipping Gemfile.lock
If the new server resolves gems fresh instead of using the Gemfile.lock from the old installation, the application can start with different library versions than the ones it was tested against. Keep the lock file with the copied code, run the bundle install against it, and check that the Ruby version on the new host is one the target Redmine release supports. Record the Ruby and gem versions before and after the move so differences are visible in the change record.
Plugins that fail after the move
Third-party plugins are not part of the core install and often depend on specific gem versions or migrations. Copy the plugin directory from the old server, then run the plugin migration task against the restored database before the first start. Check the vendor or author page for each plugin's compatibility with the Redmine version you are running. A plugin with no maintained release for the target version should be replaced or removed in a planned step, not discovered during cutover.
Email still pointing at the old host
Outgoing notification settings, the host name used in links inside emails, and incoming mail handlers can all reference the old server. After the move, notifications may send links to the retired address or fail to deliver from the new host. Review the email configuration and the host setting in configuration.yml, send a test notification to a real account, and confirm that the SMTP relay allows the new server's address.
Split writes during a long cutover
If users keep creating issues on the old server while the database dump and file copy run, the new server starts with data that is already stale. Those changes then exist in only one place. Set a maintenance window, stop the old application before the final dump, take the last database export and file sync after it stops, and keep the old server read-only until the DNS change is confirmed. Agree on who can approve reopening the old host.
Optional tools missing on the new host
Features such as thumbnails and previews for attachments depend on optional components like ImageMagick, Ghostscript and Pandoc, and background jobs in production rely on Sidekiq. None of these moves with the application code. If a new container or server image leaves them out, the application may run but fail when a user uploads an image, previews a PDF or triggers a queued job. Compare the installed components on the old and new hosts and test one action for each.
Installation guideQuestions buyers ask before moving Redmine to a new server
Can our team move Redmine to a new server without outside help?
Yes, if someone on your team has done a Linux and database restore before and can follow the upgrade and backup procedures closely. The move itself is a known sequence: dump the database, copy the files directory or attachments storage, carry over configuration and Gemfile.lock, match the Ruby and Rails versions, then cut DNS over. The risk sits in the details: plugins that store files outside the usual directory, a version mismatch between old and new hosts, and a cutover that nobody tested. Ask whether the person doing the work has run the restore end to end on a copy before the change window, because a restore that has never been tested is the usual cause of a failed move. The Redmine backup and restore guide lists what must be kept, which is a good checklist for an internal plan.
What does the move need from our team before work starts?
The work needs four things from you: administrative access to the current server and the new host, a change window agreed with the business, a named owner who can approve decisions during the cutover, and a complete plugin list. Access should cover the operating system, the database, the files directory or attachments storage path, and the configuration files. The plugin list matters most, because some plugins keep files in other locations or require specific gems, and every plugin must be checked against the target Redmine version. Also ask who will answer user questions after DNS changes, and who holds the credentials used for email, LDAP and any reverse proxy in front of Redmine.
How long does a Redmine server move take, and what changes that?
Duration depends on the size of the database, the volume of attachments, the number of plugins and how many environments must be rehearsed. Copying a large attachments directory over the network often takes longer than the database restore, so measure both on a copy of production before setting a window. Plugin count and custom code add testing time, and a version change between the old and new installation adds migration steps and checks. Ask for a plan that states which steps run in a rehearsal, which run in the window and how the team will confirm the restored data matches the source. Avoid accepting a duration that the provider has not tied to your data sizes and plugin list.
Can we move Redmine with no downtime, and what does a freeze require?
A move with no downtime is rarely practical for Redmine, because the database and files must be consistent at the moment of cutover. The usual approach is a short write freeze: users are told that issues and time entries cannot be changed, the final database dump and files copy are taken, the new server is started and DNS is switched. The freeze length depends on the final sync size and how quickly DNS and caches update. Plan the freeze with the business, announce it in advance, and decide what happens to email notifications and any scheduled tasks during the window so they do not run against the old server twice.
What does a Redmine server move cost, and what should a quote show?
Redmine itself is free under the GNU General Public License v2, so the cost comes from the people doing the work, the hosting for the new server, any licensed plugins and the time your own staff spend on testing and communication. Hosting is largely recurring, while the migration effort is one-time. A useful quote lists the scope in writing: systems covered, the rehearsal steps, the number of cutover windows, plugin checks, the DNS plan, the rollback plan and the verification steps that confirm data integrity. It should also say what is excluded, such as a version upgrade or new features, and what support is included after cutover. DeployOpen does not publish a price list, so compare quotes on the written scope rather than on headline figures.
When should a Redmine version upgrade be planned separately from the move?
Plan the upgrade separately whenever the current version is outside the supported line or whenever the move would change the Ruby, Rails or database requirements at the same time. The Redmine download page shows 7.0.x as the fully supported line, with 6.1.x receiving only bug fixes and security updates, and 5.1.x and older unsupported. Combining a move with a major upgrade doubles the number of things that can fail during a single window. A common pattern is to move the installation as it is, verify it, then upgrade in a second window with its own backup and rollback point. The Redmine upgrade guide describes the steps that belong to that second project.
Which Redmine files and settings must match exactly on the new server?
The database, the files directory or attachments storage path, config/database.yml, config/configuration.yml and Gemfile.lock are the core items to carry over, and the Redmine backup guide lists them for that reason. Keep the Ruby version and gem set aligned with the release you are running, because a different Ruby or a regenerated lock file can break a working installation. Some plugins, such as DMSF, store files in their own location, so include those paths in the copy. Confirm secrets, email settings and LDAP connections after the restore, since they may point to hosts that differ on the new network.
How DeployOpen works on this
DeployOpen plans a Redmine move as a fixed-scope piece of work, with the database, files directory, configuration and plugin set agreed in writing before any server is touched. The move is rehearsed on a copy of production, then cut over with a documented rollback path and handed over to the team that will run the new server.
How we scope
- Inventory the current Redmine version, database engine, plugins and attachment storage location before quoting.
- Agree in writing which items move: database, files directory, configuration files and Gemfile.lock.
- Confirm the target hardware or container platform, DNS ownership and the acceptable cutover window with your team.
How we build
- Align the Redmine and Ruby versions on the new host, and confirm every plugin supports that release line.
- Rehearse the database dump, restore and file copy on a staging copy, then check logins, attachments and notifications.
- Run the planned cutover steps, keep the old server available for rollback, and record each step for repetition.
How we hand over
- Document the final server layout, configuration keys, backup locations and the steps used during cutover.
- Walk your administrators through the restore procedure and the post-move checks, using your own environment as the test.
- Deliver the runbook and a list of open items, including any plugin or version work that needs a separate decision.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the move is complete.
- Review backup restores and plugin compatibility on a schedule agreed in the written scope.
- Plan the next Redmine upgrade against the supported release lines once the new server is stable.

