A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.
Please welcome our newest member, sweettaylor!
Spice up your web site with the ultimate community message board solution!
Fake Id'sGet fake Id's made right now!
vBSEOSearch Engine Optimization for your VBulletin Forum.
AdminFusion
»
Restoring a single thread
| | #1 |
| | #2 |
| | #3 |
| | #4 |
| | #6 |
| | #7 |
| | #8 |
| | #9 |
| | ||||||
| Title: Member Join Date: Feb 2008 Posts: 58 Location: Bhopal (India) ![]() ![]() | I tried to do the same on my localhost. Result : Successful. Table 1 : post (this is the original vbulletin table that holds the posts' data) Table 2 : post1 (I created this table from an older backup which contained those deleted posts too) Now you need to know the THREADID of the thread that you want to restore. In my case the THREADID was 2. To copy the deleted posts of thread 2 from post1 table to the post table, i ran this query : Code: INSERT INTO post( postid, threadid, parentid, username, userid, title, dateline,pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach, infraction, reportthreadid) SELECT postid, threadid, parentid, username, userid, title, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach, infraction, reportthreadid FROM post1 WHERE threadid = 2 AND parentid <> 0; Now we need to copy the thread information. Table 1 : thread (original vbulletin table that holds the threads' information) Table 2 : thread1 (Created this table too from the same older backup which contained that deleted thread/posts) And then ran this query : Code: INSERT INTO thread( threadid, title, firstpostid, lastpostid, lastpost, forumid, pollid, open, replycount, hiddencount, deletedcount, postusername, postuserid, lastposter, dateline, views, iconid, notes, visible, sticky, votenum, votetotal, attach, similar) SELECT threadid, title, firstpostid, lastpostid, lastpost, forumid, pollid, open, replycount, hiddencount, deletedcount, postusername, postuserid, lastposter, dateline, views, iconid, notes, visible, sticky, votenum, votetotal, attach, similar FROM thread1 WHERE threadid = 2; You're done. Now go to your AdminCP's maintenance section and rebuild all your counters. Quote:
| |||||
| |
| | #10 |
| | ||||||
| Title: Lurker Join Date: Feb 2008 Posts: 9 Location: England ![]() | Quote:
Does your host provide nightly backups? You could probably get a more recent version from them if you asked nicely? | |||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thread Runners Group #1 | rex_b | Exchanges and Partnerships | 31 | 08-25-2007 03:09 PM |
| « Previous Thread | New Posts | Next Thread » | Ryan | Forums General | 21 | 07-24-2006 02:25 PM |
| One thread for One thread | MafiaMaster | Exchanges and Partnerships | 9 | 07-18-2006 12:07 AM |
