Merging two copies of wordpress
-
Well, I have a complicated (in my opinion) issue here and I need to get it fix as soon as possible. Please help me people, I am a rookie when it comes to database (mySQL).
Well, weeks ago, my old wordpress crashed, as I install a plugin which crashed with my other plugins. It crashed so badly that I decided to start off with a fresh copy of WordPress.
What I wanted to do now is merge my old WordPress blog (all I want is the posts and comments only. I would love to set the categories to each posts manually later, my major concern is posts and comments) and my new WordPress blog (which is a fresh copy of WordPress, with a couple posts and some 50 comments).
According to some threads in this and other forums, to restore the data, all I need is import the tables from old database to the new WordPress’ database, but since the new database also have the same tables as the old one, the import function won’t work. I know I can use “drop table if exist” but I wanted to retain the tables in the new database as well. So, my questions are:
1) how to merge records in both database together? (or is there a way to import records from old database to new database without overwriting/dropping of tables/records in the new database)
2) what tables are essential if all I wanted to retain/bring over to new database are the posts and comments? Do I need to import those wp_options and other tables? Or the new tables (of wp_options and etc) on the new database will work as well?
3) Can I use the import/export functions in WordPress admin? and can I import/export xml files generated from many blogs? ie. I export xml from the old blog, and import it to the new blog, will it overwrite the posts and comments in the new blog?
P.S: Please lead me step-by-step, I am a total newbie when it comes to mySQL and phpMyAdmin and etc. I have cPanel, phpMyAdmin and is running WordPress 2.2.
- The topic ‘Merging two copies of wordpress’ is closed to new replies.