Guest User

ec2snapshot

a guest
Sep 13th, 2012
23
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SNAPSHOT    snap-XXXXXX13   vol-XXXXXXfc    completed    2012-09-13T13:08:28+0000    APPSNAME RDISK Daily Backup
  2. SNAPSHOT    snap-XXXXXX12   vol-XXXXXXfc    completed    2012-09-12T13:08:24+0000    APPSNAME RDISK Daily Backup
  3. SNAPSHOT    snap-XXXXXX11   vol-XXXXXXfc    completed    2012-09-11T13:08:19+0000    APPSNAME RDISK Daily Backup
  4. SNAPSHOT    snap-XXXXXX10   vol-XXXXXXfc    completed    2012-09-10T13:08:14+0000    APPSNAME RDISK Daily Backup
  5. SNAPSHOT    snap-XXXXXX09   vol-XXXXXXfc    completed    2012-09-09T13:08:10+0000    APPSNAME RDISK Daily Backup
  6. SNAPSHOT    snap-XXXXXX08   vol-XXXXXXfc    completed    2012-09-08T12:08:05+0000    APPSNAME RDISK Weekly Backup
  7. SNAPSHOT    snap-XXXXXX06   vol-XXXXXXfc    completed    2012-09-07T13:08:06+0000    APPSNAME RDISK Daily Backup
  8. SNAPSHOT    snap-XXXXXX05   vol-XXXXXXfc    completed    2012-09-06T13:07:55+0000    APPSNAME RDISK Daily Backup
  9. SNAPSHOT    snap-XXXXXX04   vol-XXXXXXfc    completed    2012-09-05T13:07:51+0000    APPSNAME RDISK Daily Backup
  10. SNAPSHOT    snap-XXXXXX03   vol-XXXXXXfc    completed    2012-09-04T13:07:47+0000    APPSNAME RDISK Daily Backup
  11. SNAPSHOT    snap-XXXXXX02   vol-XXXXXXfc    completed    2012-09-01T12:07:34+0000    APPSNAME RDISK Weekly Backup
  12. SNAPSHOT    snap-XXXXXX01   vol-XXXXXXfc    completed    2012-08-25T12:07:01+0000    APPSNAME RDISK Weekly Backup
  13. SNAPSHOT    snap-XXXXXX00   vol-XXXXXXfc    completed    2012-08-18T12:06:29+0000    APPSNAME RDISK Weekly Backup
  14. SNAPSHOT    snap-XXXXXX99   vol-XXXXXXfc    completed    2012-08-11T12:05:57+0000    APPSNAME RDISK Weekly Backup
  15.  
  16.  
  17. ## OUTCOME after running ec2-snapshot command
  18.  
  19. $ ec2-prune-snapshots --aws-access-key-id XXXXXXXXXXXXXXX --aws-secret-access-key XXXXXXXXXXXXX --region ap-southeast-1 --debug --noaction --days 8 --weeks 4 --dayofweek 6 vol-XXXXXXfc
  20.  
  21. ..........................
  22. ec2-prune-snapshots: Snapshot [snap-XXXXXX02] Sat Sep 1, 2012 12:07:34 to be KEPT (week)
  23. ec2-prune-snapshots: Snapshot [snap-XXXXXX01] Sat Aug 25, 2012 12:07:01 to be KEPT (week)
  24. ec2-prune-snapshots: Snapshot [snap-XXXXXX00] Sat Aug 18, 2012 12:06:29 to be KEPT (week)
  25. ec2-prune-snapshots: Snapshot [snap-XXXXXX99] Sat Aug 11, 2012 12:05:57 to be KEPT (week)
  26. ec2-prune-snapshots: Snapshot [snap-XXXXXX13] Thu Sep 13, 2012 13:08:28 to be KEPT (day)
  27. ec2-prune-snapshots: Snapshot [snap-XXXXXX12] Wed Sep 12, 2012 13:08:24 to be KEPT (day)
  28. ec2-prune-snapshots: Snapshot [snap-XXXXXX11] Tue Sep 11, 2012 13:08:19 to be KEPT (day)
  29. ec2-prune-snapshots: Snapshot [snap-XXXXXX10] Mon Sep 10, 2012 13:08:14 to be KEPT (day)
  30. ec2-prune-snapshots: Snapshot [snap-XXXXXX09] Sun Sep 9, 2012 13:08:10 to be KEPT (day)
  31. ec2-prune-snapshots: Snapshot [snap-XXXXXX08] Sat Sep 8, 2012 12:08:05 to be KEPT (day)
  32. ec2-prune-snapshots: Snapshot [snap-XXXXXX06] Fri Sep 7, 2012 13:08:06 to be KEPT (day)
  33. ec2-prune-snapshots: Snapshot [snap-XXXXXX05] Thu Sep 6, 2012 13:07:55 to be KEPT (day)
  34. ec2-prune-snapshots: Snapshot [snap-XXXXXX03] to be DELETED
  35. ec2-prune-snapshots: Snapshot [snap-XXXXXX04] to be DELETED
  36. ec2-prune-snapshots: Deleting snaps for vol-XXXXXXfc:
  37. ec2-prune-snapshots: Snapshot [snap-XXXXXX03] deletion SKIPPED [--noaction]
  38. ec2-prune-snapshots: Snapshot [snap-XXXXXX04] deletion SKIPPED [--noaction]
  39. ec2-prune-snapshots: Fri Sep 14 11:53:15 2012: done
RAW Paste Data