Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Buang
Jawaban Terbai

 

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
Buang

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

Post Terkait Replies Tampilan Aktivitas
3
Jan 22
5004
1
Apr 25
1055
1
Des 21
10430
1
Feb 19
15432
1
Mar 15
4043