how to take mlab mongodb collection backup code example
Example: dumping mlab database into local
% mongodump -h ds012345.mlab.com:56789 -d dbname -u dbuser -p dbpassword -o dumpdir
% mongodump -h ds012345.mlab.com:56789 -d dbname -u dbuser -p dbpassword -o dumpdir