Platform9 Edge Cloud
Latest
Frequently Asked Questions
How To
Solution
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to Compare the Admin Password in the Mongo Database to the one in the Backup?
Copy Markdown
Open in ChatGPT
Open in Claude
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.
Bash
xxxxxxxxxx/opt/pf9/airctl/airctl get-creds --config /opt/pf9/airctl/conf/airctl-config.yaml- Untar backup file
Bash
xxxxxxxxxxtar -xf <back_up_file> Ex: tar -xf airctl_state.tar.gz- Change directory to mongo
Bash
xxxxxxxxxxcd mongo- Get admin_pass from
du_data.json
Bash
xxxxxxxxxxvi 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
Bash
xxxxxxxxxxvi secrets.json #search for admin_pass value copied in previous step Ex:{ "_id": { "$oid": "66bdfe9xxxxxxx1262d9f" }, "tag": "airctl-1-33xxx54-31-pf9-localnet-admin_pass", "context": "customer", "driver": "null", "record": { "HYAT!": "c194ZxxxRaxxCk", "binary": false }}- Compare passwords.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
How To Generate Support Bundle from Deployment Host?Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message