表单: LinuxNotes
用户: dreamable
创建日期: 2021-03-19 01:29:17 UTC
更新日期: 2021-03-19 02:11:18 UTC
引用:(Table ID 28, Record ID 2)

标题 :
Mongo DB dump with compress and archive
笔记 :

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

标签: