node-mongodb-s3-backup
node-mongodb-s3-backup copied to clipboard
A node.js package that makes syncing a MongoDB database to S3 simple.
I get this error after running ` mongodb_s3_backup -n config.sample.json`. Do you know what can cause this? ``` /usr/lib/node_modules/mongodb_s3_backup/index.js:262 throw(err); ^ TypeError: mime.lookup is not a function at /usr/lib/node_modules/mongodb_s3_backup/node_modules/knox/lib/client.js:386:28 at...
{ Error: Cannot find module '../build/Release/bson' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/Users/vanraar/Documents/Projects/js-playground/mongodb/node_modules/mongo-dump-stream/node_modules/bson/ext/index.js:15:10) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32)...
IMO, it is better to just use Amazon's CLI and Mongo dump via SH. I had trouble with this and found the following to work well but there is more...
Thanks for building this for sure but you should update the version because its on like v7 now.
I'm going to try restoring from the backup. But it seems like it should not have logged errors. If they were genuine errors, where would I find a log? >...
Hi, Could you list the max-upload size somewhere please? Thanks
Thought it might be a common use-case to use this module via its "API". Like so: ``` js var myConfig = require('./config.json'); myConfig.mongodb.password = process.env.MONGODB_PASSWORD; myConfig.s3.secret = process.env.S3_SECRET; var mongoBackup...
Would that be a useful addition? Should be very simple using http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectExpiration.html
How about support for multiple databases?