Skip to Content
Menu
This question has been flagged
1 Odpoveď
6340 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
apr 19
3354
1
júl 25
1674
4
apr 25
11996
1
feb 25
3403
1
jan 25
1316