Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
14876 Visualizzazioni

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
Abbandona
Risposta migliore

 

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
3
gen 22
4804
1
apr 25
827
1
dic 21
10229
1
feb 19
15217
1
mar 15
3833