Not the answer you need?
Register and ask your own question!

Update the password for the backupUser on Percona server on DCOS

RogierDRogierD EntrantCurrent User Role Novice
Hi all,

Yesterday i reported the following bug:

We found that the Percona Mongo server version on DCOS could not restore backups because @ is not escaped properly.
Now i would like to work around this to fix this, but in the documentation i read this:

IMPORTANT: These users cannot be modified or removed. Tasks that modify the users below will receive an error.

Now i would like to work around this by logging in mongo, updating the backupUser system password and after this updating the service.json for the DCOS task. Did anyone have experience with this?


  • RogierDRogierD Entrant Current User Role Novice
    The impatient adventurer in me decided to give it a try.

    Solved our issue by removing the @ character by going to the mongo cluster with the cli.

    sudo docker run -it mongo:latest mongo mongodb://,, -u userAdmin -p 'my_password'

    After this
    show users

    db.changeUserPassword("backupUser", "[email protected]")

    After this i went to the DCOS interface, updated the backupUser password. This triggered a rolling update, to be sure i checked the exhibitor configuration for the mongo framework.

    Ran the restore:
    dcos percona-server-mongodb restore run s3 s3://bucketname/mongo/mongodb/date_goes_here/rs/dump

    and done.
  • lorraine.pocklingtonlorraine.pocklington Percona Community Manager Legacy User Role Patron
    Thank you so much for updating!
    I had been asking the team if they could advise. Now I've been able to tell them they can check in on your solution instead. :)
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.