Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 05:19 pm EST

Geeklog Forums

Merging two Geeklog installs


Status: offline

jlhughes

Forum User
Full Member
Registered: 04/25/02
Posts: 154
I have two sites that I want to merge into one site. I've tried dumping one database and inserting it into the other, but that doesn't work because of the duplicate items.

Is there a "simple" way to do this?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by jlhughes: Is there a "simple" way to do this?

I'm afraid there is no simple way to do this, as you would have to sync the user data, including the permissions. What if there's a user "joe" on both sites? And even if it's the same person, what if they have different user ids? Everything in Geeklog has an owner, represented by the user id ... I'd say this would be an, erm, interesting challenge.

If it's only about porting over a few stories, your best bet is to make a database backup, fix the user ids (and topic ids) manually and then import only the stories table. But as soon as you want to port over comments as well, things get a lot more complicated ...

bye, Dirk
 Quote

All times are EST. The time is now 05:19 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content