Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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
Hylkää
Paras vastaus

 

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
Hylkää

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
tammik. 22
4911
1
huhtik. 25
952
1
jouluk. 21
10336
1
helmik. 19
15361
1
maalisk. 15
3912