Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: vitalik82 - heinäkuu 22, 2009, 08:20:53 IP

Otsikko: Moving context from one DB to other DB - ?
Kirjoitti: vitalik82 - heinäkuu 22, 2009, 08:20:53 IP
Hi!

What I whant to do is to move my forum context (members, boards, topics, permissions, pm...) to another DB. The other DB is a blank new installation of SMF.

So basicly what I need is to know which DB tables to import?
Otsikko: Re: Moving context from one DB to other DB - ?
Kirjoitti: N3RVE - heinäkuu 23, 2009, 06:49:26 AP
I'll advice you to import the whole database as SMF tables relate with each other.
If you want post, boards and topics, you need:

Otsikko: Re: Moving context from one DB to other DB - ?
Kirjoitti: vitalik82 - helmikuu 11, 2011, 03:37:32 IP
Up. I still need info on these topic. I have my forum with lots of plugins and a custom theme. Which I cannot upgrade. So I am planning to install the latest RC and transfer the info to the new installation. All I need is members, board, posts, pm's, avatars and attachments.
Otsikko: Re: Moving context from one DB to other DB - ?
Kirjoitti: N3RVE - helmikuu 12, 2011, 11:05:14 IP
Use a database management application like phpMyAdmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)) to export the following tables.

Otsikko: Re: Moving context from one DB to other DB - ?
Kirjoitti: vitalik82 - helmikuu 13, 2011, 08:24:06 AP
What about:

admin_info_files
ban_groups
ban_items
custom_fields
group_moderators
links
moderators
profile_albums
profile_comments
profile_pictures
topics

And is it sufficient to just copy the old data in to the new DB considering the old forum is RC2?
Otsikko: Re: Moving context from one DB to other DB - ?
Kirjoitti: JimM - helmikuu 22, 2011, 08:44:13 IP
Make a backup before attempting anything.  Then you might try importing the old database and running the upgrade.php to insure the database is upgraded as well.