I would import the old database backup into a new, blank database and do this query on the new database in phpMyAdmin (
Executing SQL Queries in phpMyAdmin ):
Code: Select all
SELECT * from phpbb_posts WHERE topic_id = X;
SELECT * FROM phpbb_topics WHERE topic_id = X;
SELECT * FROM phpbb_topics_posted WHERE topic_id = X;
SELECT * FROM phpbb_topics_watch WHERE topic_id = X;
SELECT * FROM phpbb_topics_track WHERE topic_id = X
If phpbb_is not your table prefix, change accordingly. X is the topic_id of the topic you want to import.
Then export the results of that query. Open the sql file in a text editor and delete the 5 CREATE TABLE portions of the backup or add IF NOT EXISTS right after CREATE TABLE so all 5 read
CREATE TABLE IF NOT EXISTS
Disable the board and then import the SQL file into your existing live database.
Backup all five involved tables of your existing live database before importing.
I tested this and it seems to work. It is worth a try and if it doesn't work, just restore the backed up tables. You disable the board to prevent any posting that changes the backed up tables in case you have to restore them.