Skip to content

associatedemployers/shore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shore! Build Status

A minimal node backup server for mongoDB. It takes your database, zips it, and saves it locally or on Amazon Web Services.

Installation

$ git clone https://github.com/associatedemployers/shore.git
$ npm install
$ node index.js

Usage

  1. In shore/config/options.json enter what you would like the backup named, the name of the database, where it is located, and the cronjob pattern for when you want the task ran.

    Check out the pattern for setting your date here.

  2. In shore/tasks/task.js we have it configured to name the file whatever name you specified in options.json plus a MomentJS formatted date plus .zip. If you would like the name to be different, here is where you would change it.

Contributors

James Collins
J Scott Chapman

License

MIT

About

A minimal node back up server for mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published