Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
16998 Ansichten

Hi,

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


Thanks

Avatar
Verwerfen
Beste Antwort

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
Avatar
Verwerfen

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