Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
14966 Visualizações

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
Cancelar
Melhor resposta

 

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
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
3
jan. 22
4906
1
abr. 25
950
1
dez. 21
10334
1
fev. 19
15356
1
mar. 15
3910