You don't have to completely replace it. First, backup your current database. Then, replace the current db with the old one.
Now, open phpMyAdmin, and browse 'punbb_topics'. Now, look for the "id" of this topic you want to undelete. Then, click the checkbox to the left of its id, and then click the small "Export" icon under the topics table. On the next page, click go, then select everything and save it to a text file.
Next, go to 'punbb_posts' and click "SQL" on the tabbed navbar. Now, replace '{ID}' with your topic's id on the following piece of code and paste it on the text area (if your table prefix differs, just change it):
SELECT * FROM `punbb_posts` WHERE `topic_id` = '{ID}'
Now, click "Check All" and export the info and add it to your text file.
After you have the info, restore the new db, go to phpMyAdmin, click "SQL", paste the info from the text file, and click "Go".
That should work.