mongo-cloud-to-storage
v0.2.4
Published
Streams DB backups from Mongo Cloud Manager to cloud storage providers
Downloads
6
Readme
mongo-cloud-to-storage
Transfers files from Mongo Cloud Manager to cloud storage using streams
Install
npm install mongo-cloud-to-storage
Usage
First of all, replace the values in [examples/config.template.js|examples/config.template.js] with your own. Then, try one of the below options for running it:
Pass in your config object:
var c2s = require( 'mongo-cloud-to-storage' ); c2s( /** your config object */ );
Pass in a filePath to a config object:
var c2s = require( 'mongo-cloud-to-storage' ); // This will be passed to require c2s( '../../some/file/path' );
Run via
npm start
:git clone https://github.com/clounie/mongo-cloud-to-storage.git ## # Place config.js in the containing folder # File tree would look like: # mongo-cloud-to-storage/ # config.js ## cd mongo-cloud-to-storage npm start
Package Info
Currently supported storage providers:
- AWS S3
Requires Node.js >= v4.0.0