Advertisement:

Author Topic: [Urgent] How To restore deleted board!!  (Read 5887 times)

Offline indra00

  • Semi-Newbie
  • *
  • Posts: 41
[Urgent] How To restore deleted board!!
« on: October 18, 2008, 09:44:43 AM »
Its urgent. I accidentally deleted a board containing over 60 topics :-X

Now I have a backup of the db ..please tell me soon how can restore it.
Plzz reply fast. I'm vry worried


babjusi

  • Guest
Re: [Urgent] How To restore deleted board!!
« Reply #1 on: October 18, 2008, 10:07:53 AM »
Its urgent. I accidentally deleted a board containing over 60 topics :-X

Now I have a backup of the db ..please tell me soon how can restore it.
Plzz reply fast. I'm vry worried

http://docs.simplemachines.org/index.php?topic=403.msg532#msg532

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: [Urgent] How To restore deleted board!!
« Reply #2 on: October 18, 2008, 10:08:17 AM »
Remember that the backup will delete any new data that has been added to the forum. Also check that the backup is complete before starting to restore it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline indra00

  • Semi-Newbie
  • *
  • Posts: 41
Re: [Urgent] How To restore deleted board!!
« Reply #3 on: October 18, 2008, 01:48:27 PM »
is there any way of manually restoring the particular board  i deleted by editing the db file????


Offline greyknight17

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,890
  • Gender: Male
    • Kevin's Resource Center
Re: [Urgent] How To restore deleted board!!
« Reply #4 on: October 18, 2008, 10:15:38 PM »
Probably not going to be that simple, but it can be done. You will need to go into your smf_messages table and look for ID_BOARD. That's your board ID. You need to find out what board ID it was using (the board you deleted). Query for that board ID and you should get back the list of posts for it. You might also want to do the same thing for smf_topics. Once that's done, import those entries back into your current database and then run the forum maintenance tools to repair it. You might want to make a separate backup of the current database just to be safe.