Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
15000 Переглядів

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
4945
1
квіт. 25
1001
Odoo Database error Вирішено
1
груд. 21
10365
1
лют. 19
15394
1
бер. 15
3938