Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup DB (mongodb) to S3 errors #149

Closed
jdmry opened this issue Jun 19, 2024 · 3 comments · Fixed by #150
Closed

Backup DB (mongodb) to S3 errors #149

jdmry opened this issue Jun 19, 2024 · 3 comments · Fixed by #150
Labels
bug Something isn't working

Comments

@jdmry
Copy link

jdmry commented Jun 19, 2024

To Reproduce

  1. Create a DB (mongodb) and choose a user which is not the default
  2. Try to backup to S3
  3. See it display an error

Current vs. Expected behavior

It shows an error instead of validating the backup

Provide environment information

MongoDB, but might be similar for others.

Which area(s) are affected? (Select all that apply)

Databases

Additional context

I know what the problem is, as I checked the server logs.
It tries to initiate the mongodump command with 'mongo' (the default I think) as the database user to connect, instead of using the user provided when the container was created.

@jdmry jdmry added the bug Something isn't working label Jun 19, 2024
@Siumauricio Siumauricio linked a pull request Jun 19, 2024 that will close this issue
Siumauricio added a commit that referenced this issue Jun 19, 2024
@Siumauricio
Copy link
Contributor

Thank you, that was the issue we didn't use the databaseUser in the mongoDump, in the next version this should be fixed

@jdmry
Copy link
Author

jdmry commented Jun 19, 2024

Awesome, thanks!

@Siumauricio
Copy link
Contributor

Released in v0.2.3!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants