Project

General

Profile

Redmine Restore Database

Added by Joachim Weber over 8 years ago

Hello

I have Setup a new Redmineserver

The Administration/Information of Redmine says
New Server
- Ubuntu 14.04.4 LTS
- MySql 5.5.47
- Redmine 2.42 Stable
- Ruby 1.9.3-p484
- Rails 3.2.16

old Server
Ubuntu 12.04.5 LTS
Redmine 1.3.2
Ruby 4.5 update 4.8
Rails not installed

I have a backup from DB and Files from old Server.
After Restore on New Server i have no data in Redmine.

How i have to restore the Backup from old Server to the new Server.
Theres anyone you can tell me how i have to do that?

The new Server is working.
I can call Redmin and can log into with admin, but i can see no Projects or any else data in there.


Replies (1)

RE: Redmine Restore Database - Added by Joachim Weber over 8 years ago

I solved my Problem.
Mayby this help Somebody you have this to:

I drop database redmine_default, which is coming by Installation
Create new database
Giving the grant

Restore Database dump from old Server

Change into installdirectory from Redmine
i used this:
bundle install
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production

Now Redmine is working with old data.

    (1-1/1)