Forums / Upgrading from 1.2 to 1.3.x / fresh database update, which tables?

fresh database update, which tables?

Locked

Started by raimond on 24 May 2006, 9:28 AM · Views: 2,413

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 May 2006, 9:28 AM
#1
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

fresh database update, which tables?

I want to update my shop from 1.2.7 to 1.3.0.1, I also want a clean database.

So I did a new clean install from ZC, I made my template ready for 1.3x. And now I want to backup most of my previous tables.

I read a way to do is to backup the database. Remove all tables from the DB. Copy all tables from previous db into new db. And do the install again with only db-upgrade.

But I have a lot of contributions in the previous installation which I don't use anymore. So I don't want these fields or tables into the new DB.

Which tables do I need to backup and restore into the new 1.3 db. I need the users with all history order-status. And of course all categories with product.

Another question: Are there any changes in the (html)email templates or can I use the old email-folder?

24 May 2006, 11:00 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

Re: fresh database update, which tables?

You have your sequence a little off.

Nothing better than advice from Ajeh:thumbsup:
See post 4 in the following thread.

http://www.zen-cart.com/forum/showthread.php?t=32464

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

24 May 2006, 11:07 PM
#3
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: fresh database update, which tables?

thnx for reply, but i read that thread. > I read a way to do is to backup the database. Remove all tables from the DB. Copy all tables from previous db into new db. And do the install again with only db-upgrade.

But that wasn´t the question, I would like a clean install and restore users with their purchases and all categories with products.

24 May 2006, 11:14 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

Re: fresh database update, which tables?

Let's try this again.

If you have a backup of the 1.2.7 database then--

Install 1.3.1 full (save overrides, etc. that are unique to your site first)

After installation of 1.3.1, delete the database and insert the database from 1.2.7.
Use zc_install to upgrade the database ONLY.

That should bring in your customers and products.

HTH

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

25 May 2006, 8:39 AM
#5
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: fresh database update, which tables?

i know, i have done that. That works okay, but i have many contribs into my which I don´t use anymore, and I don´t want them into my new database. Therefor I want a clean install and just restore the tables I really use.