My main disk died the other night, hence everything’s been offline.
I had backups of all the data, but hadn’t realized I’d not backed up essential config like /etc and /var.
I thought I had an ad hoc backup of the whole OS, but that turned out not to be. A quick fsck and it became completely hosed.
Once I could work out how to do it, it was pretty straightforward to restore the wordpress sites, kudos to the wordpress folks!
My photo album using Gallery2 on the other hand was a complete PITA. I like using it for my photo album but it’s waaaaaaaaaaaaay too complicated. I know I had my album of photos preserved, the installation directory for my config, and the mysql database backed up. They simply won’t restore. I strongly suspect a problem with a URL rewriting plugin that’s totally misbehaving, but I can’t see how to fix it right now as I’ve been doing this so long my eyes are going crooked.
I need to sleep.
When I get back, I need to get 3 750GB drives, RAID 2 of them, and have the 3 for an independent backup. That combined with the offsite backup at Steve’s should mean I’m covered. Hopefully!
Headed to Ireland on Weds, need to pack, get presents, tidy up loose ends, last thing I needed was this kind of failure!

2 Comments
Feckin’ hell. Been bangin’ my head against the wall on this for hours. Found the answer here:
http://codex.wordpress.org/Using_Permalinks
AllowOverride Not EnabledYour server may not have the AllowOverride directive enabled. If the AllowOverride directive is set to None in your Apache httpd.config file, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files. Example of enabled AllowOverride directive in httpd.config:
[Directory /]
Options FollowSymLinks
AllowOverride All
[/Directory]
[ Note: change '[' to '< ' and ']‘to ‘>’. Not worked out how to get these into a post such that wordpress doesn’t think they’re html tags and strips them out. ]
Note this has also fixed my photo albums at http://photos.drumgit.com
I CLEARLY need to study apache config!
Did the upgrade a while ago. I now have 320GB as my OS drive, 750GB as my main data drive, and 750GB as my backup drive. I hope I’ll be ok storage-wise for some time to come!
Post a Comment