Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Restore a pgsql base from openERP v5(ubuntu) to v7(windows7)

By
Sales
on 5/23/13, 1:39 PM 2,293 views

Hello,

Up to now, we're working with openERP v.5. The server has installed on our ubuntu server station. I succeed in sauvegarding the pgsql database (v8.4 of pgsql) via pgadmin.

I would like now restore this database into my new OPENerp server station (windows7) via the database manager (tool of openerp v7). But when i try to do it, there is an error message saying : its impossible to restore the database.

Acccording to you, is there a way ?

Thank you very much.

Regards.

0
Sales
On 5/24/13, 11:34 AM

Hello,

Thank you. I succeed in save my database thanks to postgres tool (pg_dump) on my server station (openerp v5 ubuntu). A big file without extension has been generated.

When i try to restore this database on my temporary server (v6/windows 7) via manager database openerp v6 tool, i have again a error message saying "impossible to restore the database".

1/When i save a db from my openerp v5 (ubuntu), am i obliged to use a the openERPmanagerDB or i can also use postgresql tools like pgadmin or pg_dump? 2/ For restoring, the file must be in For resauration, the file must be in what format?

0

Brett Lehrer

--Brett Lehrer--
1252
| 5 4 8
Milwaukee, United States
--Brett Lehrer--
Director of IT and open source enthusiast.
Brett Lehrer
On 5/23/13, 1:50 PM

There have been a lot of significant changes to how the core system works between v5 and v7, you definitely won't be able to just restore a pg dump file from v5 directly into v7. I believe OpenERP (the company) has the ability to migrate databases between versions, but you'd probably be going from 5 -> 6, then 6 -> 7.

Hello,

Thank you. I succeed in save my database thanks to postgres tool (pg_dump) on my server station (openerp v5 ubuntu). A big file without extension has been generated.

When i try to restore this database on my temporary server (v6/windows 7) via manager database openerp v6 tool, i have again a error message saying "impossible to restore the database".

1/When i save a db from my openerp v5 (ubuntu), am i obliged to use a the openERPmanagerDB or i can also use postgresql tools like pgadmin or pg_dump? 2/ For restoring, the file must be in For resauration, the file must be in what format?

Latitude Geosystems SAS, Sales
on 5/24/13, 8:53 AM

It's not really that the postgres dump file is bad, it's that some core tables have changed, so newer OpenERP versions are unable to process them.

For example, new to v7 is the lack of res_partner_address - everything is just res_partner (and res_users). The basic structure of the model is different, so a direct import of an old database dump will not work. Even if it did, you'd be missing a bunch of data.

Brett Lehrer
on 5/24/13, 8:25 PM

Hello. Ok. I just installed a temporary openerp v5 all in one on my windows station. But it's always the same thing. I can't browse a dump file saved from my old linux ubuntu server (openerp v5 also) thanks to postgrestools(pg_dump). Why? these are the same versions of the software. I have this error message saying : the db can't be restored.

Latitude Geosystems SAS, Sales
on 5/27/13, 7:59 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/23/13, 1:39 PM
Seen: 2293 times
Last updated: 3/16/15, 8:10 AM