This question has been flagged
1 Reply
5202 Views

Hi,

am stuck with an issue while restoring a database backup from odoo.sh which is in sql format.

After complete restoring the database is not appearing in odoo.

Thanks in advance

Avatar
Discard
Best Answer

Hi,

Can you try the following code

Create database database_name;

ALTER USER your_user WITH SUPERUSER;

psql database_name < dump.sql

ALTER DATABASE database_name OWNER TO your_user;


Avatar
Discard