Dump mongodump --username user --password "pwd" --db dbName --out /backups/`date "+%Y-%m-%d"` Restore mongorestore --username admin --password "pwd" --authenticationDatabase admin dumpFolder/