Skip to Content
Menu
This question has been flagged
2 Replies
519 Views

I need update odoo database using the terminal command:  

./odoo-bin -d odoo-database -u all, but the problem is that the database is hosted in another server, so i don't know how use the command.   Like this:   ./odoo-bin -d ip-remote-server:odoo-database -u all

Anybody knows how to do this?


Regards.

Avatar
Discard
Best Answer

You can use --db_host . Check  Command-line interface (CLI) — Odoo 15.0 documentation


I think you have the db_host and other configuration in the Odoo config file so you can run

./odoo-bin -c [path_to_config_file] -u all -d [DB_Name]


Avatar
Discard
Author

Hi Waleed, I haven't had free time, but i will do it soon and i will confirm to you if it works.

Thank you and regards.

Author Best Answer
Hi Waleed.

Thanks for your help.

You were right, this way i was able to perform the update.

Regards.


Avatar
Discard