Skip to Content
Menu
This question has been flagged
1 Odpoveď
6606 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
3589
1
júl 25
2114
4
apr 25
12591
1
feb 25
3872
1
jan 25
1622