教你如何利用MySQL学习MongoDB之备份和恢复

系统运维2025-11-05 16:05:1375
教你如何利用MySQL学习MongoDB之备份和恢复
复制[root@localhost bin]# ./mongodump --help options:   --help produce help message -v [ --verbose ] be more verbose (include multiple times for more verbosity e.g. -vvvvv)   -h [ --host ] arg mongo host to connect to ( /s1,教何s2 for sets)   --port arg server port. Can also use --host hostname:port --ipv6 enable IPv6 support (disabled by default) -u [ --username ] arg username -p [ --password ] arg password --dbpath arg directly access mongod database files in the given path, insteadof connecting to a mongod server -   needs to lock the data directory, so cannot be used   if a mongod is currently accessing the same path   --directoryperdb if dbpath specified, each db is in a separate directory   -d [ --db ] arg database to use -c [ --collection ] arg collection to use (some commands) -o [ --out ] arg (=dump) output directory or "-" for stdout -q [ --query ] arg json query --oplog Use oplog for point-in-time snapshotting --repair try to recover a crashed database [root@localhost bin]#   1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.
本文地址:http://www.bzve.cn/news/641f8299276.html
版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

全站热门

悟3D打印机的魅力与优势(探索悟3D打印机的创新科技和广阔应用领域)

扯一把 Spring 的三种注入方式,到底哪种注入方式好呢?

不可错过!DevSecOps的完整指南

强烈推介的几个微信小程序开发小技巧,简单又实用

系统还原(恢复系统稳定性、解决软件问题、保护数据安全)

配合React Portals实现一个功能强大的抽屉(Drawer)组件

一行代码实现Python并行处理

一个用于大规模连续测试的开源解决方案

友情链接

滇ICP备2023006006号-39