Skip to Content
Menu
This question has been flagged
1 Reply
2147 Views

I have taken db backup in odoo9 and trying to restore in new another db. i am trying to restore db from pgadmin3 then getting below error.

"An error has occurred:

15:24:50: Error: File '' couldn't be removed (error 2: No such file or directory)"


Please let me know how to resolve it

Avatar
Discard
Best Answer

hello

try to restore from terminal.

create new db from terminal and then restore.

=> for the restore .sql file
psql -<username> -<dbname> -1 -<filename>.sql
=> for restore .dump file
pg_restore -<username> -<dbname> -1 <filename>.dump

Avatar
Discard
Related Posts Replies Views Activity
3
Aug 24
5506
4
Jul 24
38819
5
Apr 23
93754
3
Nov 22
2958
3
Aug 22
3042