This shows you the differences between two versions of the page.
snapshot_backup [2011/09/20 20:25] k2patel |
snapshot_backup [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== 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 ==== | ||
- | |||
- | |||
- | <code bash | config > | ||
- | #!/usr/bin/perl | ||
- | |||
- | $awsId = '<your AWS_ID>'; | ||
- | $awsKey = '<your AWS_KEY>'; | ||
- | $awsinstance = '<AWS_INSTANCES>'; ## right now it is not used anywhere | ||
- | </code> |