This is an old revision of the document!
Backup
This snapshot backup enable you to have retention.
this manage my infrastructure backup on ec2.
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