User Tools

Site Tools


snapshot_backup

This is an old revision of the document!


Table of Contents

Backup

This snapshot backup enable you to have retention.

Requirement :

  • perl
  • Net::Amazon::EC2
  • bash

Files :

  • config # store your amazon key here
  • db.pl # manage local DB for your snapshot / dates / volume
  • backup.sh # Cron this script
  • create_snap.pl # Create Snapshot
  • config_bash # Manage config of your retention / backup
  • snap_status.pl # Check status of your snapshot
  • delete_snap.pl # Delete Snapshot which is out of retention.

C0D3s

| config
#!/usr/bin/perl
 
$awsId = '<your AWS_ID>'; 
$awsKey = '<your AWS_KEY>';
$awsinstance = '<AWS_INSTANCES>'; ## right now it is not used anywhere
snapshot_backup.1316550325.txt.gz · Last modified: 2011/09/20 20:25 by k2patel