Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
databasev5v7ubunturestore
2 Replies
7264 Views
Avatar
Sales

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
Avatar
Discard
Avatar
Brett Lehrer
Best Answer

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.

0
Avatar
Discard
Sales
Author

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?

Brett Lehrer

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.

Sales
Author

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.

Avatar
Sales
Author Best Answer

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
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Restore a database (openerpv7)
database postgresql v7 restore
Avatar
Avatar
Avatar
2
Mar 15
11117
Failed to restore database after reinstall server v7. Any ideas .??!
database v7 restore postgresql9.2
Avatar
Avatar
1
Mar 15
8107
Restore a postgres db (openerpv5) : error message
database v5 postgresql restore
Avatar
1
Mar 15
6146
How to select a different database on login screen Solved
database v7
Avatar
4
Jul 24
33918
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Solved
database restore
Avatar
Avatar
Avatar
2
Dec 23
3925
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now