Replicating tables from one website database on another

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 11, 2015   (RSS)

By terryally - November 10, 2015

Hi,

I am running three websites with the identical database structure for three different (but related) businesses.

I've just restructed site #1 and now I want to replicate that across the other two. I tried to do that by:

  • In Admin > General > Backup & Restore, I backup the new tables individually from site #1
  • I run a test import (Restore) one table on site #2 through Admin > General > Backup & Restore
  • Nothing appears in the Section Editor listing, so I try to create the table but error message says that table already exists in the database
  • I go to MySQL and I see it there. I run an SQL query to drop the table and re-create it. It appears as a table in MySQL but not in CMSB

With that not working, I then FTP up the schema from site#1 to site#2 and it finally appears in the listing.

Is there a faster, more efficient method to achieve this?

Thanks

Terry

By terryally - November 11, 2015

Hi Damon,

Thanks very much. This worked perfectly with one little itsy bitsy tweak i.e. a change to the name of the customUploadDir in a couple of the schema files where I had used a custom upload directory.

Thanks again.

Terry