Skip to Content
Menu
This question has been flagged
1 Odpoveď
6765 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
3676
2
okt 25
1575
1
júl 25
2366
4
apr 25
12921
1
feb 25
4159