Restore issue with retrieve.conf best practice DB?

Hello,

Restoring to a standby server seems to get a retrieve.conf file everytime.
I know the resolution is get the DB password from amportal.conf and update it in hte advanced config, but is the best practice to change the password for the DB to the same as the primary server or is there another recommended best practice?

Thanks
PBX Ver 6.12.65-32