Python Script to take backup of Ec2 Volume with days retention
Assumption: We have access key and secret key which has a privilege to create snapshot, delete snapshot, list volumes,etc., The script will keep 4 days retention and delete the old backups. #!/usr/bin/python #Author:Dhanasekaran N #Email:dhanasekaran.n16@gmail.com,support@pheonixsolutions.com #Usage:python create_aws_snapshot.py AWS_TAG_NAME #Version:1.0 #Here come I……. from datetime import datetime, timedelta import datetime… Continue Reading Python Script to take backup of Ec2 Volume with days retention