Backup, backup and backup!!
A word to the wise, always make backups….. Particularly when you are testing a script that has the ability to delete emails!!!!!!!
I was writing a script to delete some of my emails whilst I’m away, regular newsletters, advertising from holiday companies, you know the sort of stuff I’m talking about? Not spam, and not stuff I want to unsubscribe from – just stuff – stuff that I’ll only delete when I get home anyway.
Anyway, I screwed it up and an empty variable got passed into the cleanup script and has blown away my entire inbox. Luckily it’s my more spammy account that I signup to most things with, however I’m quite good at pruning it normally and it had over 700 posts in! GRR!
So a lesson, backup files and mailboxes before you run ANY automated scripts against them!
photo credit: alvy
Comments (2)
Leave a Reply
What I'm Doing...
- Still feeling pretty rotten but determined to get at least a couple of things off this list today! 12 mins ago
- Not really looked properly at EC2 in a long time, but all @lgladdy 's tweets about it are pushing me in that direction again, any good tips? 1 hr ago
- Android why can't I create a repition of a calendar event every other week? I can do weekly, every xth of the month but not every other! 12 hrs ago
- Get a private beta invite for Connect.Me. It's your reputation card for the social web http://t.co/ZWV66HMM 13 hrs ago
- Waiting for a callback from the doctor, why can't they tweet me or do a Skype diagnosis? 1 day ago
- More updates...




Try this nice automated piece of backup software – will speak to local, USB and also NAS (i.e. devices on the LAN) as well
http://www.allwaysync.com/
Or if you want something with a bit more ‘clout’ – Backup Exec System Recovery is fantastic…
Darren Cranniss last blog post..Keeping your valuable data safe!
Watch this space…. I bought my backup system last week and installed it last night – very, very nice!
Blog post coming soon!