How to deal with base_crypt when restoring to new server?

Asked by Ingmar Gutberlet

I would like to add that extra bit of security to my databases with base_crypt but I have a problem with it.

Scenario:
- I install and populate a database, then install base_crypt. Now my passwords are hashed.
- I then want to save and restore this database to a new server (imaging a server crash).
- I can restore the database, but can not log in because base_crypt is not installed.
  However, since modules are installed against databases (right?) I can not log in to install base_crypt.

Question:
How can I restore and then access a database that had base_crypt installed and thus pwds hashed?

Thanks,
Ingmar

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) said :
#1

Hi Ingmar,

this should not be the case. As you say, modules are installed against a database. Restoring the database on another server instance will keep the same set of modules installed as long as these are available in the addons path. As base_crypt is in the official addons distribution I would not expect any trouble there.

Has this actually happened to you? Then the log files might give a clue about what is really going on.

Cheers,
Stefan.

Can you help with this problem?

Provide an answer of your own, or ask Ingmar Gutberlet for more information if necessary.

To post a message you must log in.