Storing Forum Messages.... [message #9273] |
Wed, 19 March 2003 20:01 |
|
forrie
Messages: 47 Registered: August 2002 Location: Derry, NH
Karma:
|
Member |
|
|
I ran into a problem where my MySQL data got corrupted (removed!) and was left with a msg_1 file.
Upon looking at this file, it was clear that no identifying information (ie: some type of headers) was present and I was otherwise going to have to figure it out manually or ask people to repost their messages (the latter being more realistic).
This is a point of failure/weakness in the forum design. I have seen suggestions about putting the posts in the actual database, some disagree. Perhaps it can be enabled to do this, and the admin can "choose" to have articles on-disk instead... if the articles are stored in raw text format on the disk, then at the very least I would suggest some form of posting information that could identify the post/forum/user,etc.
In my case, if that data were present, I might possibly been able to use a recover script or something to re-import the data into the forums, walla.
Something to consider for disaster recovery, which would be very useful to have available.
I would be for putting the forum posts into the database - it could allow for a more powerful search, and a way to organize the data. Problem being: what to do with attachments? Put them IN the database as blobs or correlate a URL or PATH to where it's stored on disk (problems with both I can see).
_F
|
|
|