Moving install - not making sense

15 posts by 6 authors in: Forums > CMS Builder
Last Post: May 23, 2012   (RSS)

By HDLLC - October 21, 2009

Hi there-

I found several threads on moving an install that involved upgrading, losing sections/recreating, etc...

I just need to move my site from one place to another (different host).
Will try upgrading later.

Where, exactly do I tell the software (cmsb) to look for the new server (adjust config settings)? Is that stuffed into the db? If so, can I just manually edit the old server settings, put in new, replace files and go?

Just want to move same install to new server - done.

Thanks!

--Jeff

Re: [chris] Moving install - not making sense

By HDLLC - October 22, 2009

Thanks Chris! Great info - just what I was looking for!

Worked like a champ.

One thing - I needed this to restore some web sites from a server crash at the ISP (both primary and backup went dead).

So... One site is missing the admin so I combed through and found another. Bad idea. It picked up their admin options (site sections, etc).

Where do I edit that out and get the right options back?

Thanks!

--Jeff

Re: [HDLLC] Moving install - not making sense

By Chris - October 22, 2009

Hi Jeff,

Section configuration information is kept in cmsAdmin/data/schema. If you have a backup of that directory you should be able to copy it back and have your sections work again.

I hope this helps!
All the best,
Chris

Re: [chris] Moving install - not making sense

By HDLLC - October 23, 2009

Okay - bad news... I have the database, and everything is there, even images. Missing this schema folder.

Guess it was the only thing I cannot find from my data recovery...

Any way to rebuild that or...?

Thanks!

--Jeff

Re: [HDLLC] Moving install - not making sense

By Dave - October 26, 2009

Jeff,

Are you able to copy the /data/schema/ folder from your old install (or your backup) to your new install?

Let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Moving install - not making sense

By HDLLC - October 26, 2009

Hi Dave-

I talked with Ross a bit this morning - and no...
I am working from a crashed drive, so no backup of schema...
Manual rebuild of that file?

I think he's taking a look to see what it will take.

Will let ya know! Thanks!

--Jeff

Re: [HDLLC] Moving install - not making sense

By Dave - October 26, 2009

Ok, I'll leave that with you and Ross, then.

My quick advice on re-creating the schema's is:
- Make sure you have a backup of whatever you have now so you can always go back to that
- See what tables and fields are in the database
- Create sections and fields in the field editor that match what's in the database.

Once you've done that your data should appear again. The field editor just ignores fields it doesn't know about.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Moving install - not making sense

By HDLLC - October 26, 2009

Hi Dave-

Yeah, I usually do have a backup, but the unbelievable happened.
Server died, and so did the ISPs backup.

As i was restore the sites, I suffered a similar fate and had to have my drive recovered in a "clean room" and have a few files that didn't make the recovery.

These few files are the culprits at the moment.

Thanks!

--Jeff

Re: [HDLLC] Moving install - not making sense

By sublmnl - March 4, 2012 - edited: March 4, 2012

I don't see this in Chris' instructions in the file:

2. Edit the cmsAdmin/data/settings.dat.php and change this line:


isInstalled = 1


we are running version 2.14