Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
14829 Weergaven

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
Annuleer
Beste antwoord

 

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
Annuleer

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

Gerelateerde posts Antwoorden Weergaven Activiteit
3
jan. 22
4770
1
apr. 25
799
1
dec. 21
10174
1
feb. 19
15171
1
mrt. 15
3809