Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Najlepsza odpowiedź

 

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=<>

 

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
3
sty 22
4800
1
kwi 25
826
1
gru 21
10212
1
lut 19
15213
1
mar 15
3831