AWS EC2 Manage Snapshot Backup with PHP SDK

This is a simple script based upon AWS SDK PHP to manage volume’s snapshots.

It simply create one snapshot per volume (once you run it) and delete snapshot older then 1 month.

Please provide your personal information by copying config-sample.inc.php into config.inc.php.

Run the script backup-snapshots.php with your CRON.

For example:

# Auto AWS Snapshots
00 08   * * *   /usr/bin/php /var/virtual/aws/backup-snapshots.php
00 22   * * *   /usr/bin/php /var/virtual/aws/backup-snapshots.php
00 12   * * 7   /usr/bin/php /var/virtual/aws/backup-snapshots.php

Download AWS EC2 Manage Snapshot Backup

Tags: , , , , ,

Post simili:

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

5 Responses to “AWS EC2 Manage Snapshot Backup with PHP SDK”
  1. Catering Bucuresti
    21:41 on August 11th, 2012

    I intented to use the SDK php code from Facebook on my website, but was not recognized so in the end i remove it

  2. tv on web
    18:45 on October 11th, 2011

    This truly seems complicated … still I assume that it’s worth a try!

  3. cooksappe
    21:57 on October 1st, 2011

    complicato! :o

  4. Nicu
    12:01 on September 7th, 2011

    This seems interesting, perhaps it will come in handy someday. Thank you for sharing it!

  5. kindle review
    02:29 on August 22nd, 2011

    We are a group of volunteers and starting a new scheme in our community. Your web site offered us with valuable information to paintings on. You’ve performed an impressive job and our entire group shall be grateful to you.

Leave a comment

(required)

(required)


*

Categories