Project

General

Profile

How to import a DB of Redmine 2.5.2 into Redmine 3.4.6 ?

Added by Hervé Thouzard over 6 years ago

Hello,

I have an installation of Redmine 2.5.2, out of order, and I installed Redmine 3.4.6 on a new server.
Is there a way to import the old database in the new database ?
Little clarification, I only have a mysql dump of the old database.


Replies (2)

RE: How to import a DB of Redmine 2.5.2 into Redmine 3.4.6 ? - Added by Go MAEDA over 6 years ago

you have to perform a database migration process described in RedmineUpgrade. Maybe the following steps work well for you.

  1. Drop and recreate a database on the new server. Note that don't run bundle exec rake db:migrate at this point.
  2. Export your data from the old database and import it into the new database. Use tools such as mysqldump and mysql.
  3. Perform the steps described in RedmineUpgrade.
    (1-2/2)