How to Migrate Odoo Database from version 7 to version 8


Dear All,

This tutorial will guide on how to migrate the Odoo database from version 7 to version 8

step1 : Go to cd /var/tmp/

step2 : create directory mkdir openupgrade

step3 : cd /var/tmp/

Download openupgrade module from github

wget https://github.com/OpenUpgrade/OpenUpgrade

tar -xvf OpenUpgrade

step4 : rename OpenUpgrade to 8.0

mv OpenUpgraden to 8.0

step5 : cd /var/tmp/openupgrade/8.0/scripts

step7 :  login as postgres

su postgres

run command :

python migrate.py –config=/etc/openerp-server.conf –database=db_name  –run-migrations=version to migrate(8.0)

You will see there will another db created with your db_name_migrated.

Open this db in odoo 8.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s