As part of my normal website maintenance, I have a cron script that backs up my whole website and wordpress database. I have now noticed that the file backup hasn’t been running since mid-november. That shouldn’t normally be a problem, until the time when you make a typo in a unix command that, instead of deleting files with a ‘_backup’ tag DELETES EVERY FUCKING FILE IN A DIRECTORY. I managed to kill the command before the whole lot of my new galleries got killed, but I lost four. Two were in a previous backup, one I could rebuild in short order. The last one will need some serious digging around to find the original files.
So kiddies, lesson for today is MAKE SURE YOUR BACKUPS ARE UP TO DATE!