{"repo":"boly38/node-mongotools","free":true,"listed":false,"github":"https://github.com/boly38/node-mongotools","clone":"git clone https://github.com/boly38/node-mongotools.git","description":"node mongoTools wrapper","language":"JavaScript","stars":14,"topics":["backup","nodejs","mongodb","javascript","javascript-library","mongo","hacktoberfest","hacktoberfest2021","mongodump","mongorestore"],"license":"MIT","category":"databases-storage","readme_excerpt":"node-mongotools This project provides 2 wrappers for : - mongodump , - mongorestore . This project also include dropbox integration feature to - dump and upload onto dropbox, - restore from a dropbox hosted mongo backup. There is an autonomous feature called rotation that provide a backup file rotation mechanism - remove N oldest deprecated backups. This readme contains some samples. Other samples are under examples/. You may notice that mongodump and mongorestore binaries are part of database-tools (follow standard installation for common OS). These binaries are mandatory for node-mongotools nodejs project as we are talking here of \"wrapper\" : a more convenient way to launch command + arguments from NodeJS code). From a GitHub Actions context, you can install them via action-mongo-tools. There is an example in this project in main workflow that execute tests. Command line usage You should decide to install it globally without getting source or by cloning repository. Install globally (beta) When using a global install node-mongotools command must be directly available (ie. you can replace node mt by node-mongotools in examples). You could revert thins by using Install by getting source Environment setup - first time only Set your preferences source your options Basic feature Add in-line extra options You could play with env default options plus in-line command extra options Dropbox feature You have a dropbox access token in your preferences, (cf. \"Mongo tools options\") Librar","default_branch":null,"files":null,"tree":[],"storefront":"/r/boly38","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/boly38/node-mongotools/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}