Restoring comments

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Davy
Regular
Posts: 109
Joined: Fri Oct 13, 2006 2:06 pm
Location: The Netherlands

Restoring comments

Post by Davy »

Hi!

I'm just curious, is there any simple way to restore your Serendipity-comments from an older database back-up? I've been very clever and deleted all my comments. Now I've already got some new comments (that I want to keep), but I'd like to have my old ones back too.

Thanks.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Restoring comments

Post by garvinhicking »

Hi!

You can simply import the old Database dump of your comments table, but make sure that there's no "DROP TABLE" or "DELETE" statements in it. This way, it simply imports all old comments and leave the existing ones intact.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply