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

could not restore the database openerp

Subscribe

Get notified when there's activity on this post

This question has been flagged
databasemanagerpostgresqlubuntubackupopenerp
4 Replies
21121 Views
Avatar
Madura

Hello, 
When I try to restored the backup database using "Database Manager" it shows error like this "Could not restore the database", So can anyone help me? I'm using OpenERP v8.
Thank You.

1
Avatar
Discard
George Rodopoulos

Hello Madura. Did the backup came from a different installation than the one where you tried to restore the backup? If yes, can you pleas check what is the version referenced when you click "About" under your user name in the upper right corner for both installations?

Avatar
Amol Gangajaliwale
Best Answer

Madura,

I think your database size has gone big . Try these commands in terminal

For Restore   DB=new_database_name && createdb $DB && psql -d $DB < backup_database

For Backup   pg_dump --cluster 9.1/main --format=c old_database_name > new_database_name

Thanks

1
Avatar
Discard
Avatar
Andres Rodriguez Guapacha
Best Answer

I just had the same issue, and it was, at least in my case, something very silly: I restored the database a second time, with the same name. The only thing is that after the first time, the information was not updated, that is, the new database didn't appear in other options, like the Drop, or the duplicate functionality. Only when I hit Refresh and went back to login, I could see the new DB in the list of options.

1
Avatar
Discard
Avatar
Ben Bernard
Best Answer

I have similar problem with OpenERP 6.1. I don't know the problem. But when I want to restore database, I use postgresql client, like pgAdmin III, which is quite straight forward. Sometimes database dump in binary is also problematic, in this case I re-dump the database in SQL and then restore it.

1
Avatar
Discard
Madura
Author

Hi Ben Bernard, Thankx for the help, the way you tried, was it worked sucessfully?

Avatar
Koffi KPONOUGLO
Best Answer

Hi Madura,

I see you use the tag openerp7; so if you try to restore V7 database in V8 you will get this error.

Or if you try to restaure openerp8 database in odoo8 you'll get thus the same error.

 

1
Avatar
Discard
Madura
Author

Hi Koffi KPONOUGLO, Thank You for the help. as you told , The backup database I have which is from OpenERP v8 and planning to restore it in Odoo8, So any other way to do this ? Thank You.

George Rodopoulos

@Madura: OpenERP v8 and Odoo v8 is the same thing. Which exactly branch from github is used for the installation where the backup came from? Which exactly branch from github is used for the installation where the backup will be restored ?

Koffi KPONOUGLO

@Rodopoulos : OpenERP V8 and Odoo v8 are not the same thing. Database structure is not the same.

George Rodopoulos

@Koffi: That seems strange to me. I thought that after the previous version of OpenERP V7, OpenERP V8 would normally come out but in the meanwhile OpenERP was renamed to Odoo. So, I thought that OpenERP V8 is actually Odoo V8 which currently has status RC1 and can be found here: https://github.com/odoo/odoo/tree/8.0 . If what you say is true, where can I find the code for OpenERP V8 and what are the differences that cause a different database structure?

Koffi KPONOUGLO

@Rodopoulos : It is not strange it is normal. We are not talking about name OpenERP or name Odoo. We are talking about their database structure. I could say odoo v8 is a "new realise of openerp v8". all actual link i could propose you are updated so i can't give you a good link but if you want give me your email i can send you openerp8 et odoo 8 source code and you wil try to restore bdd between.

George Rodopoulos

@Koffi:OpenERP V7 existed but I've never heard of OpenERP V8. Where did you find it ? If it is not available now, when was it and where (if you have even a broken link, please send it) ? Do you currently have a running installation of OpenERP V8 ? If yes, what is the version mentioned when you click about.

Koffi KPONOUGLO

@Rodopoulos : Yes i have a running installation of OpenERP Version 8.0dev-20140416-230101. Search on the forum you will see i right. I have the code i am ok to send it to you.

George Rodopoulos

@Koffi: Thanks for the info. I finally found Version 8.0dev-20140416-230101 among other nightly builds of trunk here: http://nightly.openerp.com/trunk/nightly/src/ I think that this version is actually an Odoo V8 nightly build when it was still at dev status Alpha and just before changing references from OpenERP to Odoo. You can see the /openerp/release.py file at about that point of history in github here: https://github.com/odoo/odoo/blob/b2fc19045b5a4e337c62757679dd9761043badb8/openerp/release.py#L37 So, ok, the difference is not the name as you said too. The difference is the actual version/build/development status of the two installations.

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
Incremental backup in 2024 ? (self hosted)
database postgresql backup
Avatar
0
Jun 24
2440
OpenERP backup through openerp interface - infinite load time
database postgresql backup
Avatar
0
Mar 15
5075
Installting OpenERP 7 - PostgreSQL issues
postgresql ubuntu openerp
Avatar
Avatar
1
Mar 15
8543
Backup / Restore fails with Odoo 9 Solved
manager postgresql backup aws
Avatar
Avatar
2
Jan 17
12167
How can I backup database Automatically Solved
database backup openerp automatically
Avatar
Avatar
Avatar
Avatar
4
Mar 15
12518
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