I've just published my PHP backup script to github.com. If you are looking for an easy to use, PHP based backup script to send things to S3, check it out.

Download the source at github.

It's been in production for over a year at various sites. Works fine for me.

Here is the feature list:

  • Simple to use
  • Backups all databases on a MySQL server
  • Backups and compresses (using bzip2) directories and files
  • Uses URL type storage keys, so it's easy to browse the backup bucket
  • (optionally) Removes old backups according to a grandfather-father-son based schedule