News:

Wondering if this will always be free?  See why free is better.

Main Menu

Restore users from old db

Started by mcdconcepts, May 22, 2025, 06:02:54 AM

Previous topic - Next topic

mcdconcepts

Hi
I have moved servers and it did not go well. So I have reinstalled SMF, all I want to do is restore the members we used to have in old db.
Luckily, I have only just started in setting this up so there are not many.
How do I do this please?
Many thanks
Chris

Kindred

you should never do a partial restore. the tables have interconnections and restoring only the users would put things in a bad state.

You should restore the entire database - and then use repair_settings.php to correct the paths, etc that would be different between servers.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Doug Heffernan

Quote from: mcdconcepts on May 22, 2025, 06:02:54 AMI have moved servers and it did not go well.

In what way it didn't go well?

mcdconcepts

Quote from: Kindred on May 22, 2025, 09:19:44 AMyou should never do a partial restore. the tables have interconnections and restoring only the users would put things in a bad state.

You should restore the entire database - and then use repair_settings.php to correct the paths, etc that would be different between servers.
Cheers. Understood

mcdconcepts

Quote from: Doug Heffernan on May 22, 2025, 11:11:47 AM
Quote from: mcdconcepts on May 22, 2025, 06:02:54 AMI have moved servers and it did not go well.

In what way it didn't go well?

Mods didn't go over properly, database got corrupted. All sorts of issues. Up and going again though thanks to davej

Advertisement: