CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Rebuild Custom Tables??
Pages: [1]

Author Topic: Rebuild Custom Tables??  (Read 891 times)

FrTommy

  • I post frequently
  • ***
  • Posts: 273
  • Karma: 2
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.32
  • PHP version: 5.3
Rebuild Custom Tables??
April 15, 2012, 11:58:52 pm
So I did the  upgrade from 4.1.0 to 4.1.1 and got a db error. Of course I didn't have a good backup of the data so I had to just do an export of the data only from the corrupt db and then dropped the tables and deleted the civicrm folder. I downloaded a new 4.1.1 install and installed it.

I then took the tables from my export and dropped those into the new install. Everything went mostly ok after i did a few minor tweaks to the sql to remove the inserts of the tables that were already pre-populated.

the problem now is that i don't have my custom tables....is there a way to trigger Civi to rebuild those custom tables from the profile and custom fields tables?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Rebuild Custom Tables??
April 16, 2012, 12:51:46 am
Quote
.is there a way to trigger Civi to rebuild those custom tables from the profile and custom fields tables?

I don't think so. You will have to retrieve it from your backup.

Kurund
Found this reply helpful? Support CiviCRM

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Rebuild Custom Tables??
April 16, 2012, 05:13:08 am
No, as Kurund stated you will have to rebuild or get from the backup I am afraid..... :(
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Rebuild Custom Tables??

This forum was archived on 2017-11-26.