I do backups regularly. I have a two-tier system. One backup transfers essential files, password protected, to a distant location. The other backup makes backups of all my personal files to a USB hard disk. Also, my pictures are stored on flickr, which acts as a backup of sorts.
Unfortunately, the only things I forgot to backup were the backup scripts that I wrote. And guess what happened? That’s right - I lost them. I was attempting to run a full backup, which was supposed to change directory to my USB hard drive and delete all contents. The change directory command failed. But the script carried on, wiping out everything in the directory where my backup script was stored. At least that’s what I assume happened. I no longer have the backup script so I can’t exactly review the logic.
Now I gotta write the damn script over from scratch…