Use mongodump.
mongodump [--host mongodb01.sharewiz.net] [--port 27017] [--collection --myCollection --db test] [--username peter --password "PASSWORD"] [--oplog (point-in-time snapshot)] [--out /opt/backup/test-YYYY-MM-DD]
NOTE:
mongorestore [--host mongodb01.sharewiz,net] [--port 27017] [--username peter --password 'PASSWORD'] [/opt/backup/test-YYYY-MM-DD/] [--oplogReplay (restore snapshot)] [--objcheck (checks integrity prior to commit)]
NOTE:
mongoexport [--db contacts --collection crm --out /opt/backups/contacts.json] [--username peter --password 'PASSWORD'] [--host mongodb01.sharewiz.net --port 27017]
NOTE:
mongoimport [--file /opt/backups/contacts.json] [--db contacts --collection crm] [--username peter --password 'PASSWORD'] [--host mongodb01.sharewiz.net --port 27017]
NOTE: