Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
16976 Представления

Hi,

How can i restore my odoo .dump file (buckup file), How can i import this .dump file to new database ?


Thanks

Аватар
Отменить
Лучший ответ

Hello,

first create new database using below command in terminal

createdb database_name

now restore the .dump file using below command

pg_restore -c -d [database_name] [dumpfile_name].dump
Аватар
Отменить

I use the method described above or using the database manager "/web/database/manager" and use the restore option, but you also need to have a DB created to restore it to.

I think that the createdb has to be executed in psql and the pgrestore directly in terminal.

yes, you need to execute this command into terminal