Skip to Content
Menu
This question has been flagged

Hi!

I moved an odoo database from one instance to another. In this second instance, the database should be neutralized.

Before, when the database was small, I could easily do this through the web interface. However, downloading and uploading a multi-GB zip file is not practical.

So, I copied over the filestore and db dump manually from one to the other host/instance. Now, I want to neutralize the database on the new host.

I already figured out I have to add a system parameter with key database.is_neutralized with value true​, but I would also like to get the red neutralized warning banner on top.

I believe I can add it manually, copying over views from another database, but I feel unsure this is the correct way of approaching this. Also, is the database *actually* neutralized?

In short, is there an easy option, from the command line or in the UI to neutralize a database after it has been restored?

Avatar
Discard
Best Answer

The best and more suitable way to acheive it is by using the framework itself on the CLI.
Just execute the command:

/path_to_odoo_folder/odoo-bin neutralize -d name_of_database

... and "voilá" :-)

Avatar
Discard
Author Best Answer

Hi!

Thanks for answering. I am aware of this option, however, the database file is too big to conveniently upload over HTTP. That's why I am looking for another way to neutralize a database.

However, I now came to think that simply setting the system parameter database.is_neutralized​ to true​ is sufficient after well.

Unless someone contradicts me on this...?

Avatar
Discard
Best Answer

Hi,

You can enable the boolean Neutralize while restoring your database. By doing this you can get the Red banner


Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 24
1113
2
Oct 24
1728
4
Aug 24
8469
2
Aug 24
4255
2
Feb 24
4031