Welcome to Geeklog Friday, February 26 2021 @ 05:10 pm EST

Geeklog Forums

Merging databases

Status: offline


Forum User
Regular Poster
Registered: 06/12/17
Posts: 104
Is it possible to merge two databases for the same version of the geeklog?

One is for a dev. site which has upgraded any of plugins for geeklog.
The other is a db used for current production site, that has latest data for users, user-prefs, stories and more.
I plan to upgrade geeklog for the production site so that I will merge the upgraded db with the db that is already upgraded and installed any of necessary latest plugins.


Status: offline


Site Admin
Registered: 27/09/05
Posts: 1407
Well anything is possible.. It really depends how different the databases are.

What is important is that that the user ids line up in both databases. Everything from topics, comments, security assignments, etc. is assigned to a user.

You also need to make sure topics and topic assignments are not missing for articles, staticpages, etc

If the dev site has just upgraded plugin tables and the production site just has new records for users and topics (no deletions) then you should be okay but you should really test it and see. If there are say a missing user record then any content that user may have will not be able to display and could have cascading effects elsewhere...

The other spot you would have to update as well would be the geeklog plugins table to make sure all the latest version info, etc is correct for each record.
One of the Geeklog Core Developers.

All times are EST. The time is now 05:10 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