In the previous study of MongoDB (iii), how to import and export data on the server side and restore the backup, this article describes how to use the Client tool for remote server data backup to local.
Take the client tool Mongovue as an example to explain:
1. Connect the local server and the remote server database first
2. In the local server (127.0.0.1), right-click Add Database, and enter the name of the databases in the popup box, for example:
Note: To add a database to the local server first, use it for export.
3. Select the database (Iflashbuy-log) in which you want to export the server (192.168.5.117), right-click Copy collections to Different server ..., such as:
4. In the pop-up page, select the Library and table to export, select the target server (127.0.0.1), select the target library (Iflashbuy-log), such as:
After success, pop up the following prompt box:
Then click OK to close the pop-up box and close the last pop-up page close.
5. Check the success of the import in the local server database.
MongoDB Learning (iv) Client tools backup Database