Hello SMF!
I have SMF forum with multiple boards.
How can I "export" all topics and messages from one board and "import" it into another SMF installation on other server ?
I don't want to keep other boards, member list, forum settings, etc. Only topics and messages are important.
You can't. :(
BTW, topics and messages are tightly linked to members and potentially other settings
Quote from: Karmasterrr on April 12, 2023, 07:49:44 PMHello SMF!
I have SMF forum with multiple boards.
How can I "export" all topics and messages from one board and "import" it into another SMF installation on other server ?
I don't want to keep other boards, member list, forum settings, etc. Only topics and messages are important.
You can follow this guide to move your whole forum as a whole to the new installation at the new server. Once that is done, you can delete what you don't want to keep. This is the best way to go about this imo.
https://wiki.simplemachines.org/smf/Hosting_-_How_do_I_move_my_SMF_forum_to_a_different_host
My advice, if I may, make first a thorough backup of the database before you delete stuff. It will come in handy if things don't go as planned or if you will have a change of hearts.
I think what OP is asking is to export a board from an existing forum and import it into a different, working forum. That can't be done. Moving the forum to a different server and deleting all but the desired board does not address the question.
Actually, there is a way to do this in 2.0. Someone wrote a script that merges two forums. You can do what Doug suggested and set up a clone of the original forum on same server as target forum, remove all unwanted boards in ACP, then merge it with target forum. Not on my computer so can't look for the script, don't know if it will work in 2.1.
https://www.simplemachines.org/community/index.php?topic=575102.msg4070024#msg4070024
Doesn't look like it's been updated for 2.1. Not something I would try on a production install.
Quote from: Sir Osis of Liver on April 13, 2023, 10:52:26 PMActually, there is a way to do this in 2.0. Someone wrote a script that merges two forums. You can do what Doug suggested and set up a clone of the original forum on same server as target forum, remove all unwanted boards in ACP, then merge it with target forum. Not on my computer so can't look for the script, don't know if it will work in 2.1.
Yup, I thought of this too while reading the topic - But not really a safe and easy approach at all, and I'm unaware of a script like this for 2.1.
EDIT: The script you linked to though, it does say it was tested with an RC version so it might work.