How to Compare the Admin Password in the Mongo Database to the one in the Backup?
Problem
How to Compare the Admin Password in the Mongo Database to the one in the backup?
Environment
Platform9 Edge Cloud - v5.3 (LTS1)
Procedure
Note the password from the get-cred command. This command fetched the username and password from MongoDB.
/opt/pf9/airctl/airctl get-creds --config /opt/pf9/airctl/conf/airctl-config.yamlUntar backup file
tar -xf <back_up_file>
Ex: tar -xf airctl_state.tar.gzChange directory to mongo
cd mongoGet admin_pass from
du_data.json
vi du_data.json #search for "admin_pass" and make a note of admin_pass value
Ex:
"passwords": {
"admin_pass": "airctl-1-33xxx54-31-pf9-localnet-admin_pass",Get the Password from
secrets.json
Compare passwords.
PreviousHow to Re-Install Minio In LTS3 setup
NextHow To Generate Support Bundle from Deployment Host?
Last updated
