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

Hi

I need to restore a .dump backup file, but I cant do it using openerp v7's web interface, since it always crashes my local server.

How can I restore the dump file using command line?

Please describe it step by step.

Thanks a lot, regards

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

 

The exact format of the commands that Odoo uses for backup and restore is below.

For backup

pg_dump --format=c --no-owner --username=<> --host=<> --port=<> <dbname>

For restore:

pg_restore --no-owner --dbname=<>

 

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

and how to say whats the new database name and then load this dump in?

Related Posts Ответы Просмотры Активность
3
янв. 22
4917
1
апр. 25
954
1
дек. 21
10337
1
февр. 19
15362
1
мар. 15
3913