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

Once you backup a Database in Odoo with admin, how can you restore in another instance if you have a different password?

By
JA
on 2/1/15, 11:45 AM 1,048 views

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.

BISSTECH SRL
on 2/2/15, 1:15 PM
0
JA
On 2/4/15, 9:19 AM

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.

BISSTECH SRL
on 2/4/15, 2:55 PM
0
BISSTECH SRL
On 2/1/15, 1:59 PM

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

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

1 follower(s)

Stats

Asked: 2/1/15, 11:45 AM
Seen: 1048 times
Last updated: 3/16/15, 8:10 AM