Advice on moving data from b2 to wp
I’ve read a bunch of posts on this topic but I’m still a bit hazy.
I was running b2, not a current version. Rather than upgrade b2, then move to WP, I just installed WP, using wp as the table prefix. I changed b2’s config file to use b2blog.php rather than index.php.
At that point, I had both packages running concurrently.
Then I ran the import-b2.php script. It threw a bunch of SQL errors and didn’t move any data over.
Question 1: Have I fubar’d my WP installation by running import-b2.php? Everything *seems* to be working fine but if it would be better to start over from scratch, I’d rather do it now than after I’ve struggled with data migration.
Question 2: Is there an elegant way to get the data out of b2posts table and into wp_posts? Or is it not quite that straightforward? Unfortunately I don’t have shell access to the server I’m running on. I’m OK with SQL, but fairly clueless when it comes to PHP. I’ve rebuilt the categories table by hand, and don’t care about losing the comments (since they were mostly porn spam…one of the reasons I needed to upgrade … I needed the comment moderation). Actually, to be more accurate, I don’t want the comments data, but I guess I could just drop that table.
Any help would be much appreciated. I suppose I could resort to cutting and pasting but…ugh. I’d like to have this done before summer! 🙂
- The topic ‘Advice on moving data from b2 to wp’ is closed to new replies.