Debugging mongo connection errors, backup script change