-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purge option #116
Comments
Did the PurgeAfterFE and PurgeAllow tags get set on the snapshots that were created? What get's output by the script when it's run? Or perhaps you already got it working? I've just started using this script but will need to see if purge is working for me after a couple of days have passed. |
PurgeAfterFE and PurgeAllow tags were created successfully. -p option only not working. |
Hi kanandaraj, In your second cmd, try removing the 10 after the -p flag. Also remove the "data" after -n flag. (The -p and -n flags do not take parameters.) Here is the changed cmd:
|
hi was trying the script and changed line 151 to purge_snapshots=true; are there any areas to edit in the script? ./ec2-automate-backup.sh -v vol-0f9e8ce6 -k 7 -n -p >> /var/log/aws.log 2>&1 this is my script output :>> Tagging Snapshot snap-edeb7ffc with the following Tags: Key=CreatedBy,Value=ec2-automate-backup Key=Name,Value=DailyBkUp_vol-0f9e8ce however i noticed the purging option is not working and the timestamp is in epoch. thanks, would love any help or guidance. Update Please kindly assist. |
purge option seems not working. I tried following way
ec2-automate-backup.sh -v "vol-6d6a0527 vol-636a0112" -p
ec2-automate-backup.sh -v "vol-6d6a0527 vol-636a0112" -k 10 -r "us-west-2" -n "data" -p 10
The text was updated successfully, but these errors were encountered: