Joe Williams home
I recently needed some simple scripts to backup files on various machines, stuff like configs and even some small CouchDB files. Not finding something already out there I put together tens3, two simple scripts to get and put files to Amazon S3. They provide the following: They are very simple to use, just create a configuration file together: amazon_access_key_id: "someid" amazon_secret_access_key: "somekey" backup_dir: "/some/path/" purge_threshold: 3 bucket_name: "somebucket" Backup a directory of files: $ ./tens3_put tens3.conf Restore a file from a backup: $ ./tens3_get tens3.conf date somefile ./somefile The date is the date that the file was backed up in a YYYYMMDD format. Enjoy and let me know if you find any bugs or want new features.
Fork me on GitHub