Upstreamer is a Node.js app that keeps a folder backed up on Amazon S3.
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.
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
Please post a note on the Server-Snacks mail list.