Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
758 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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.

Penulis Jawaban Terbai
Hi Waleed.

Thanks for your help.

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

Regards.


Avatar
Buang