Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2771 Представления

Hello, how can I back up odoo database from server and restore it to my personal computer using pgadmin? 

Аватар
Отменить
Лучший ответ

Hi,

In the current case, you can directly restore the database from the UI or use terminals


If you restore the dump dile try this code in your terminal


$sudo su postgres

$createdb -O [Owner] [database_name]

$psql [database_name]



dump:

$sudo su postgres

$createdb -O [Owner] [database_name]

$pgrestore -d [database_name] [dumpfile_name].dump


for more reference you can refer to the Blog : 

https://www.cybrosys.com/blog/how-to-restore-a-database-in-odoo-15-erp



automatic datarestore-

https://www.cybrosys.com/blog/how-to-setup-automatic-database-backup-in-odoo-15


Hope it helps

Аватар
Отменить
Автор

The reason of using pgadmin is because:
1. Im bad at code
2. my odoo server is error and no one know how to resolve it.
So, if i use pgadmin, i just need to right-click the database, create backup using .tar file, right?

Related Posts Ответы Просмотры Активность
2
мая 21
2424
3
мар. 15
8368
0
мар. 24
1300
1
мар. 24
7935
4
дек. 17
5225