Page 1 of 1

Reinitializing a database

Posted: Mon Aug 01, 2016 7:34 am
by NC Software
I've done my play with the sample data, in the process of moving forward with the migration to the next step, I have a copy of my production database I now want to attach to from AC 707. So I need my current web site to migrate it up to GOLD. What is the official process of making this happen? I assume just rename "AbleCommerce" in the database.config and the web site will run through the init process again? Putting the /Install folder back in place of course. Just want to see if there is anything I may be missing in getting the migration routine to upgrade the 707 database or if it can be done manually would work as well.

Re: Reinitializing a database

Posted: Tue Aug 02, 2016 2:16 am
by Katie
Hello,

I'm not 100% certain if you can point your Gold install to the 7.0.7 database, but it would only take a minute to find out if it works. The upgrade instructions show a step during installation where you choose the "Install Type" and pick an option to upgrade or install to a new database. I know the upgrade process for Gold to Gold is automated, but I don't know if it is for 7 to Gold.

Here are the instructions for the upgrade -
http://help.ablecommerce.com/index.htm# ... o_gold.htm

Thanks
Katie

Re: Reinitializing a database

Posted: Tue Aug 02, 2016 2:25 am
by NC Software
I got it working, I tried that first, didn't work so I put the Install folder in place, compiled it and deployed it (WAP) and then used the default database.config and did what I needed. Just didn't know if there was a more official way as obviously we may develop against a database copy and then need to rerun migration later on the live database for the final push to production.

Re: Reinitializing a database

Posted: Wed Aug 03, 2016 4:18 am
by mazhar
NC Software wrote:I got it working, I tried that first, didn't work so I put the Install folder in place, compiled it and deployed it (WAP) and then used the default database.config and did what I needed. Just didn't know if there was a more official way as obviously we may develop against a database copy and then need to rerun migration later on the live database for the final push to production.
Yes that's correct. If you look at this help document http://help.ablecommerce.com/upgrades/a ... o_gold.htm
We are using fresh install package which always includes Install folder and default database.config file. In order to start fresh with an existing gold install you need to perform the steps you performed so everything seems OK.