Are you using authentication DB in your uri?
Does you password has any special characters?
So mongodump works from command line but not from your automated script?
Are you using authentication DB in your uri?
Does you password has any special characters?
So mongodump works from command line but not from your automated script?