source
mongodump --db country --gzip --archive=country.archive mongorestore --gzip --archive=country.archive
NOTE: The archive is mongo-specific format, can't be opened by other tools e.g. tar