Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
10606 มุมมอง

Hi,

Just upgraded my database from Openerp 7 to odoo10.


When i tried to restore the database after migration it gives me following error:

Database restore error: Database already exists


Can somebody help?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

delete it from pgadmin  

 127.0.0.1:50784/browser

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I hope you did a backup of that Database, before trying to "upgrade", or "delete" a DB and have now a way to restore its information.

PgAdmin is very useful, but when you do upgrades, you must always have the old and the upgraded versions of Odoo or Openerp) properly set up before migrating data.

Use your DB backup to restore it with a new name using /web/database/manager on the newer version, and validate if the data migration was successful, or if there was any issue between both versions.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You do have to delete the database, before you can restore it using the same name (what "restore" means in the first place). You may read this in order to get a better understanding: https://github.com/odoo/odoo/issues/13450

อวตาร
ละทิ้ง