This question has been flagged
3 Replies
2749 Views

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
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

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
Discard
Author

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.

Best Answer

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
Discard