发布于 2015-09-14 14:48:02 | 195 次阅读 | 评论: 0 | 来源: 网络整理
参数: |
|
---|
Use this function to copy a specific database, named origin running on the system accessible via hostname into the local database named destination. The command creates destination databases implicitly when they do not exist. If you omit the hostname, MongoDB will copy data from one database into another on the same instance.
This function provides a wrapper around the MongoDB database command “copydb.” The clone database command provides related functionality.