Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
14992 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

 

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

 

Avatar
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
3
led 22
4930
1
dub 25
959
1
pro 21
10348
1
úno 19
15375
1
bře 15
3927