Project

General

Profile

How to migrate a database

Added by thibault salingue about 12 years ago

Hello everyone I don't know if this subject was already answer but I want to make a procedure to backup my redmine website and try a test to deploy it in a new server.

I'm in a 1.0 version in ubuntu.

So I dumped my redmine_default database , install on the new server the 1.0 version redmine.
Use the dump in the new database. Use rake db:migrate RAILS_ENV=production rake db:migrate_plugins RAILS_ENV=production
The Web site seems to work, However when I tried to login I failed and I don't know why ???

I checked on the database to see if everything was the same as the previous DB and this is the same so I don't understand why I can't login with the new server.

Is anyone can help me with that ??

Thank you