PDA

View Full Version : Restoring a specific forum section


SwalyAaron
09-02-2013, 05:00 PM
Got a whole section deleted by a rogue staff member which I mistakenly trusted, anyways I have a back up from 2 days ago but I only want to restore ONE section, is this possible?

Lynne
09-02-2013, 08:50 PM
I have seen users post queries to restore specific threads from a backup, but you would need a script to restore a whole section and I have never seen anyone post a script to do this. I'd strongly suggest not allowing moderators permission to hard delete threads/posts.

SwalyAaron
09-03-2013, 01:55 AM
I have seen users post queries to restore specific threads from a backup, but you would need a script to restore a whole section and I have never seen anyone post a script to do this. I'd strongly suggest not allowing moderators permission to hard delete threads/posts.
Was an administrator, anyways;

what if I restore the db to a temp forums delete all other sections exccept my section, export that and then some how import it to the db with out overwriting stuff?

tbworld
09-03-2013, 06:33 AM
Writing an import routine is your best bet. Less chance of messing up your current database. And yes, you would just import what you need -- no overwriting.

SwalyAaron
09-03-2013, 12:51 PM
Keep getting this error:

MySQL said: Documentation

#1062 - Duplicate entry '82' for key 'PRIMARY'