Comments (6)
Snapshots taken by ec2-automate-backup will be eligible for purging after the following date (the purge after date given in seconds from epoch): 1458239434.
Tagging Snapshot snap-b9fffbe6 with the following Tags: Key=CreatedBy,Value=ec2-automate-backup Key=InitiatingHost,Value='ip-10-220-5-100' Key=PurgeAfterFE,Value=1458239434 Key=PurgeAllow,Value=true
Tagging Snapshot snap-8c457dc9 with the following Tags: Key=CreatedBy,Value=ec2-automate-backup Key=InitiatingHost,Value='ip-10-220-5-100' Key=PurgeAfterFE,Value=1458239434 Key=PurgeAllow,Value=true
from aws-missing-tools.
Not sure what we are missing to purge...We even tried the following
** ./ec2-automate-backup -r "us-west-2" -s tag -t "Backup,Values=true" -k 1 -p -h > /data/scripts/ec2-automate-backup.log
**
from aws-missing-tools.
Your first sample script did not contain the -p flag, but I see that you included it in second sample script. What does the ec2-automate-backup.log contain after you run the second script?
from aws-missing-tools.
Thanks for the response.
If you run the script this way it seems to work via cron.
/data/scripts/ec2-automate-backup.sh -r "us-west-2" -s tag -t "Backup,Values=true" -k 5 -p -h > /data/scripts/ec2-automate-backup.log
This deleted shapshots from March 24th. I do have snapshots that are from March 8th - March 16th that didn't get deleted. Any ideas
The following are the tags for the ones that didn't get deleted.
CreatedBy ec2-automate-backup
PurgeAfterFE 1460166301
PurgeAllow true
##################################################################################
Here is the log output.
Snapshots taken by ec2-automate-backup.sh will be eligible for purging after the following date (the purge after date given in seconds from epoch): 1459706089.
Tagging Snapshot snap-a152e3ff with the following Tags: Key=CreatedBy,Value=ec2-automate-backup Key=InitiatingHost,Value='ip-10-220-5-100' Key=PurgeAfterFE,Value=1459706089 Key=PurgeAllow,Value=true
Tagging Snapshot snap-cfdf7d95 with the following Tags: Key=CreatedBy,Value=ec2-automate-backup Key=InitiatingHost,Value='ip-10-220-5-100' Key=PurgeAfterFE,Value=1459706089 Key=PurgeAllow,Value=true
Snapshot Purging is Starting Now.
Snapshot "snap-248a717c" with the PurgeAfterFE date of "1459238401" will be deleted.
Snapshot "snap-607c223f" with the PurgeAfterFE date of "1459238401" will be deleted.
from aws-missing-tools.
Glad you got things working.
For the snapshots that were not deleted, they won't be deleted until after 9 April 2016. The value 1460166301 assigned to PurgeAfterFE is a UNIX time stamp and it represents 9 April 2016.
from aws-missing-tools.
Thanks!
from aws-missing-tools.
Related Issues (20)
- wish: update docs to mention RAID
- Create Tool to Identify Public S3 Objects
- aws-ha-update gets wrong instance-id HOT 2
- Missing File HOT 2
- awscli cannot authenticate HOT 1
- Feature Request: AWS ec2-automate-backup
- The problem with the description of snapshot HOT 6
- Transfer Custom tags to backup HOT 4
- purge option HOT 4
- ec2-automate-backup: tags not applied to snapshots HOT 1
- Ubuntu - aws location HOT 3
- Instruction for ec2-automate-backup on Ubuntu 14 server HOT 7
- Error message is cutted (not complete)
- Backup doesn't work under cron HOT 4
- Purge option doesn't appear to be working? HOT 2
- tags not working? HOT 1
- aws-ha-release doesn't support new application load balancer HOT 1
- AWS HA Release does not support multiple ELB's HOT 1
- AWS missing? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-missing-tools.