Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
16969 Widoki

Hi,

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


Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

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
Awatar
Odrzuć

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