How to redirect mongodump's progress log into a file or some other repository rather than stdout? I tried the following code but it simply output an empty file and all logs remain in stdout.
mongodump --host MONGO --out %FULLPATH% --oplog >> out.log
Error Handling and Retry
Does mongodump return some error code when it failed? I used windows task scheduler to run mongodump and it always consider the job has been run successfully while mongodump may have failed silently.
I'm running this in Windows.