Skip to content

DnSu/aws-s3-lambda-mongo-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-s3-lambda-mongo-backup

Lambda script for backup mongo DB and pipe to S3.

Dependencies

/bin mongodump binary from mongodb.com. 64bit Amazon AMI

$ npm i moment fs path util

Configure

$ cp config.json.sample config.json

Sample config.json

{
  "bucket": "xxxx",
  "mongo": {
    "db": "xxxx",
    "username": "xxxx",
    "password": "xxxx",
    "host": "xxxx:####"
  }
}

Deploy

Notes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published