Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

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
Kassér
Bedste svar

 

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
Kassér

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

Related Posts Besvarelser Visninger Aktivitet
3
jan. 22
4813
1
apr. 25
843
1
dec. 21
10241
1
feb. 19
15231
1
mar. 15
3850