Skip to Content
Menú
This question has been flagged

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
Descartar
Best Answer

 

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
Descartar

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

Related Posts Respostes Vistes Activitat
3
de gen. 22
4953
1
d’abr. 25
1006
1
de des. 21
10377
1
de febr. 19
15401
1
de març 15
3958