> For the complete documentation index, see [llms.txt](https://zurassic.gitbook.io/10x-developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zurassic.gitbook.io/10x-developer/full-stack-development/mongodb.md).

# MongoDB

mongo after ssh: `mongo YOUR_APP_NAME`

check db size (file size in mb) `db.stats(1024*1024)`

## Backup

Gist: <https://gist.github.com/hamxiaoz/0a7e2d8ad9e809c9d5f9>
