Migrating mantis to Redmine step by step separate servers or same server

If you are migration of same servers then its not a problem you can follow the below method


but if you are doing on different servers,

then make sure you configure Mantis MySql server to accept remote connections so that data
can be migrated remotely and when it asks for


Please enter settings for your Mantis database

adapter [mysql]:
host [localhost]: ( enter the IP address of Mantis server ) ( make sure MySql accept remote connections)

How to accept Remote connections on MySql

database [bugtracker]: mantis
username [root]: XXXX
password []: XXXX
encoding [UTF-8]:

rake redmine:migrate_from_mantis RAILS_ENV="production"
(in /opt/redmine)

WARNING: Your Redmine data will be deleted during this process.
Are you sure you want to continue ? [y/N] y

Please enter settings for your Mantis database
adapter [mysql]:
host [localhost]:
database [bugtracker]: mantis
username [root]: XXXX
password []: XXXX
encoding [UTF-8]:

Migrating users...................................................................................................................................................
Migrating projects..
Migrating bugs...................................................................................................................................................................................................................................................................................................................................
Migrating bug relations................
Migrating news.
Migrating custom fields

Users: 147/217
Projects: 2/2
Memberships: 1/1
Versions: 8/8
Categories: 0/0
Bugs: 323/463
Bug notes: 595/1553
Bug files: 28/60
Bug relations: 16/39
Bug monitors: 20/51
News: 1/2
Custom fields: 0/0

No comments: