--archive writes a single file instead of a directory tree, and --gzip compresses it, cutting backup size dramatically. Restore the archive with mongorestore --gzip --archive=/backups/appdb.archive.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.