Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
4489 Vistas

Hi,


Running odoo 14 CE.

When I do a backup and restore that backup the task seems to complete.

However I never get to see the restored backup (which is a different db).

I checked in postgres server and the database import did happen. However the database manager doesn't show it.


There's no error logged.

Avatar
Descartar
Autor Mejor respuesta

FIX: remove the --database parameter from the rc.d script on FreeBSD.

Avatar
Descartar
Mejor respuesta

Hi, 

Make sure that  dbfilter or db_name are not set in your odoo conf file .

If its set it will show database based on the parameter you given in the conf file, Other databases will be Ignored

Also, Check the Owner of your database and db_user are the same 

https://www.odoo.com/documentation/15.0/administration/install/deploy.html 


Hope it Helps,

Kiran K

Avatar
Descartar
Autor

This got me on the right track. There's no filter specified in my config. Tried to set it with the wildcard (which I believe is the default) in the config file and the command line. No luck.

However I noticed that the --database option is being used. Apparently this will limit to this database only.

It's the default in a FreeBSD install when you use the odoo14 package that the rc.d script supplies this --database option. After removing I see all databases.

Mejor respuesta

Hello

Please check database user may be you try to access different database with different user and your restore database belong to different user that one reason not visible into database manager 

Second issue is DB filter apply into conf file.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 24
9638
3
jul 24
5983
1
nov 22
2433
1
may 21
3551
3
mar 21
8601