This question has been flagged
2 Replies
2460 Views

Hi all, 

I had an issue yesterday in a odoo 8 platform and I need to restore the complete database from a backup that I did 5 years ago. I did the following to restore it:

Steps:

1. sudo su postgres

3.psql database_name < databasefile.sql ( .sql file of database backup )

Now I have 2 databases. Database A (which is connected to odoo8) and Database B (which is the one I want connect). 


How could I do to connect database B and disconnect database A from the odoo 8 platform?? 

Kind regards 

Avatar
Discard
Best Answer

Hi John,

You just have to select new database which you have restored from the backup. You can use following URL: "your_ip_or_domain/web/database/selector" to access the list of all the databases.

Do you have any other issue like you cannot see your new database in the list or you want to remove the old database?

Let me know if you have any other question.

Sudhir Arya
ERP Harbor Consulting Services
Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com
Avatar
Discard
Author Best Answer

Hi Sudhir, 

Thank you so much for your quick response. Unfortunately, the new database B is not displayed into the list... The list displays two selectors: the name of one of them is empty and the other one is the old database.

I don't know what to do... 

Regards 

Avatar
Discard