简体   繁体   中英

How to make mongodump from AWS Lambda function in node.js?

I need to dump mongo data base from AWS Lambda function and store the dump folder on AWS S3 with node.js. How can I make it?

Check this project on github: lambda-mongocluster-s3

It includes the mongodump binary, where you can specify the MONGODUMP_OPTIONS without the --out param it'll zip the output and store it on S3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM