mongodb-backup icon indicating copy to clipboard operation
mongodb-backup copied to clipboard

Makes use of the filesystem

Open dejagersh opened this issue 7 years ago • 2 comments

Even when using streams, it uses the filesystem which makes it unsuitable for cloud platforms like Heroku and AWS Lambda.

dejagersh avatar Oct 29 '18 21:10 dejagersh

In case of using stream, having an extra parameter for the temporary folder, instead of using __dirname, will fix this problem, since in cloud computing they usually make some paths availables (AWS for example we can specify '/tmp' for usage).

brunorib62 avatar Oct 09 '19 13:10 brunorib62

@thejager If it is still relevant, my own solution for mongodb backup might help you. In my design you can create connectors to data sources for the backup so you can create a connector of S3 or other cloud service and the data will be streamed right into there. I hope it address your issue and will help you. https://github.com/lihaibh/mongodb-snapshot

lihaibh avatar Sep 07 '20 03:09 lihaibh