Sunday 10 November 2013

A few simple tools

They’re both a little rough around the edges and missing setup scripts

s3-secret-url

Takes the name of a s3 bucket and asks which one of those files you’d like to generate a secret link to and how long that link should be valid.

View s3-secret-url on github.

s3-db-backup

A script designed to be ran from cron that can dump either MySQL or Postgres databases, encrypt them and stick them on S3 with a naming convention of either hourly, daily or weekly. The benefit of which is that the older backups get overwritten by the new backups. Ideal if you simply want to backup and forget about things.

View s3-db-backupon github.