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.
Bash
Copy
  • Untar backup file
Bash
Copy
  • Change directory to mongo
Bash
Copy
  • Get admin_pass from du_data.json
Bash
Copy
  • Get the Password from secrets.json
Bash
Copy
  • Compare passwords.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard