1

Is it totally crazy to think of creating a new Civi install (have one set up in Drupal 9 already) and merging a well-used Civi database into it, table by table? We've had our Civi install since around 2011 and the database is about 1.35gb and has about 22 thousand contacts. We can put in work to re-configure after moving, but I need to know if it's realistic to do it this way, as opposed to just moving the current database to the new install. We are looking to move to Drupal 8/9, from Drupal 7.

The reason is both the size of the database, so we can get rid of a bunch of unnecessary data, but after so many years there are many glitches and problems with the current database, probably more than I even know. I have started to make a list of what data is critical to move. I know there are many interconnected tables, but don't know enough details to know if something like this is realistic.

4
  • I started to answer and then realized it probably wasn't a good answer. Do you think your problems are config or data? For example when you say you can reconfig after moving, if you have custom fields and the problems are custom field-related this approach might not work well.
    – Demerit
    Mar 17 at 2:49
  • i would focus on fixing the problems and getting rid of unneeded data, and then copying whole db, unless you aim to strip back so much data that you could pretty much achieve what you want via an export/import. i would think you will run in to lots of issues doing this table by table unless you know the data structure really well - especially if you are wanting to retain any log tables
    – petednz - fuzion
    Mar 17 at 8:28
  • Thanks for the responses. There have been a number of issues through the years, but the things that stick out in my head currently are with CiviVolunteer and CiviCase, both were a mess. Both are stuck and can't be completely removed, but also won't work or install properly. We had someone work and delete CiviVolunteer tables and try and reinstall, but no luck. We've had other hiccups upgrading, but for daily use most everything else is working fine. I'm hearing that it would be difficult, even with someone knowledgable about database structure.
    – desierto
    Mar 17 at 19:16
  • We could get by w/o log tables, if all was functioning. Perhaps we should bring the whole database and instead try manual database purging of what we don't need.
    – desierto
    Mar 17 at 19:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.