Extension wrong password after restoring database (different servers)

Hi everyone.

I’m trying to set up two elastix servers with FreePBX where one will be backup to other.

Everything works, but when I do a backup from 1st server and move that backup to 2nd, the configurations loads OK but the extension can’t login. After debuging at Asterisk CLI I see that the passwords are wrong. If I write manually the password again, then it works.

Assuming that password is being encrypted on the database (I couldn’t locate that register) I think the migration of the password from 1st to 2nd is being re-crypted again.

Where the passwords are being stored?
Any ideas to fix that? Thank you.