Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2655 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 24
6222
3
ago 24
7069
4
jul 24
41519
5
abr 23
99458
3
nov 22
4502