So we use Duply to back up LVM snapshots of our mongo database.
And Duply is configured to send the backups to a bucket on S3.
Well.... occasionally we'd delete a Mongo VM and then we'd end up with orphan data in S3.
Stumbled around and found a tool to view S3 easily and realized we had quite a buncha junk in there.
So wrote some python to list the files in S3 and then to delete the junk.
CyberDuck:
http://cyberduck.ch/
Boto.S3:
http://boto.readthedocs.org/en/latest/s3_tut.html
No comments:
Post a Comment