Last night I sat down to create a comic.
But first, I thought, I should really back up my site templates. Over the last week or so I’d made a number of changes to the live templates “on the fly” in order to fix a few display/theming problems I’d noticed, and I wanted to make sure I didn’t accidentally lose those changes. So I fired up Filezilla, went over to the Drupal themes directory, and told Filezilla to copy the templates on my website into the templates in my archive directory.
Filezilla asked me if I wanted to overwrite all files. I said yes.
…that’s when I realized I’d done it backwards: I had actually told Filezilla to take the files out of my archive directory and overwrite the files sitting in my live site. Damn it all to hell.
So I was up from 9PM-2AM re-creating everything I’d done, then backing the templates up to my archive directory, to make sure my backups were in sync. I think everything is restored, more or less. But let this be a lesson to you all: manual backups are dangerous.
I never did get around to posting that comic…