Skip to content

scripting/upstreamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upstreamer

Upstreamer is a Node.js app that keeps a folder backed up on Amazon S3.

How upstreamer works

I have a server running a set of Node apps using forever to keep them running.

Each app is in a sub-folder of a main folder, where all its code and prefs/stats are stored. In some cases the user data is stored there too.

I want to keep a copy of all the files in all the sub-folders in an S3 bucket. The backups are continuously updating as things change.

My copy of upstreamer is configured to do this.

How to set up

To install:

npm install

Edit config.json and set s3path to point to the place in your S3 bucket where you want this server's backups to be stored.

folder is the folder hierchy we'll scan on this machine.

ctSecsBetwScans is the number of seconds between each scan.

upstream.js is the app, to run it:

node upstream.js

Questions, comments?

Please post a note on the Server-Snacks mail list.

About

A Node.js app that keeps a folder backed up on Amazon S3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published