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

In odoo.conf I had 

admin_db = admin

 

I new instance I have

admin_db = different password

When I try to restore database(sql.zip), it fails.

Any suggestions?

 

อวตาร
ละทิ้ง

JA, please mark the answer as accepted if the solution works for you. Thanks.

ผู้เขียน คำตอบที่ดีที่สุด

Thanks BISS

I figured it out:

admin_passwd: is not equal master password.

Master Password needs to be changed in http://yourdomain/web/database/manager#action=database_manager

Go to password option on left menu. and change it.

Now you can create,backup, restore and dump databases.

 

 

 

อวตาร
ละทิ้ง

Actually, you should check your Odoo configuration file again and you'll see your new master password you gave in the UI stored in the admin_passwd configuration parameter. Using the action you mentioned, makes Odoo store a the values of all configuration parameters back to the config file.

คำตอบที่ดีที่สุด

video reference here 


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

Hi, restoring the database on a new instance can be done either from the 'Manage Databases' (from the Odoo login page) or directly with the Postgres tools. The restore operation will require only the credentials of the destination Odoo instance (the admin_passwd value from the Odoo configuration file), if you use the Manage Databases method. For the latter one, you need run the restore commands as a database user (the db_user value from the Odoo configuration file). If you need further assistance, just let me know which method did you use for creating the backup. Anyway, you should try the restore with the unzipped file.

I hope this helps. Ioan

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
6
เม.ย. 16
12971
3
ก.พ. 25
16989
4
ก.พ. 24
3409
Restore database from Odoo 12 to Odoo 16 แก้ไขแล้ว
1
ก.พ. 24
79
1
มิ.ย. 23
2131