Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Meilleure réponse

 

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
Ignorer

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

Publications associées Réponses Vues Activité
3
janv. 22
4782
1
avr. 25
808
1
déc. 21
10180
1
févr. 19
15184
1
mars 15
3817