Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1596

phpBB Discussion • Re: Stupidly deleted a long thread - can I redirect/point to the restored one?

$
0
0
The most simple way to restore a deleted topic is to import the posts and the topic from a recent database backup.

So the workflow is:

disable your board
take a database backup (in case something goes wrong and your have to restart)
create a new empy database
import the recent database backup into the new database
Create 2 SQLs, 1 to get the relevant data from the topics_table, 2 to get the relevant data from the posts_table.

Since you know the topic_id, export that topic_record (from the topics_table) and also export the posts_data from the posts_table (the criterium for both = topic_id = 97479.
Then import those records into your current database.

Once everything's done you can enable the board
Then resync post and topic counts. (ACP).

It's fairly easy but your board has 11 million posts and if you're not used to working with phpMyAdmin (or similar) i'ld advise to find someone experienced to do this.

Statistics: Posted by warmweer — Thu Mar 13, 2025 6:51 am



Viewing all articles
Browse latest Browse all 1596

Trending Articles