PHP script to create and rotate EBS and RDS snapshots in Amazon AWS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
aws-snapshot-manager.php
composer.json
credentials.json

README.md

aws-snapshot-manager

PHP script to create and rotate EBS and RDS snapshots in Amazon AWS.

Requires composer, to install the dependencies get Composer and run:

composer install

Put your AWS key and secret into credentials.json and then edit the schedule in the constructor (become familiar with the PHP date() function. I'll add a more user-friendly method of specifying a schedule in a later release if people use this (create an issue if you'd like it).

Run it every hour from the cron. Suggested crontab entry:

0 * * * * php /path/to/aws-snapshot-manager.php