dump-to-s3

1.0.2 • Public • Published

Mongo-s3

Backup your mongo database to s3

Runs off sync shelljs commands

Usage

Will work with any project that is referencing mongodb from an envFile for example

MONGO_URI=mongodb://localhost/test

Fill in your S3 Details in your .env

ACCESS_KEY: Your Access Key
SCRECT_KEY: Your secret Key
BUCKET: your s3 bucket

use as an npm script i.e npm run backup

/dump-to-s3/

    Package Sidebar

    Install

    npm i dump-to-s3

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • akopcz2