İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
14973 Görünümler

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
Vazgeç
En İyi Yanıt

 

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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Oca 22
4911
1
Nis 25
953
1
Ara 21
10336
1
Şub 19
15361
1
Mar 15
3912