CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: how to copy data from the old database to the new one.
PostPosted: Fri Oct 21, 2011 6:14 am 
Offline
CRE Newbie

Joined: Wed Aug 24, 2011 7:45 am
Posts: 26
hi, I need help again :)

I've successfully installed the new shopping cart - loaded commerce 6.5. I had a dump file of my old database, but When I load the dump file into the new database, the new database structure was replace by the old one, which makes the new shop not working correctly.

are there any ways to copy the data from old db to the new one without having the new database structure replaced???

PS: I can't use the copy database feature that are built in in loaded commerce 6.5 since my old db is too big, it won't be copied.

Thanks Thanks


Top
 Profile  
 
 Post subject: Re: how to copy data from the old database to the new one.
PostPosted: Sat Oct 22, 2011 2:02 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2394
Location: New Zealand
You don't do this - you use a 6.5 upgrader and create a blank database for it to build the tables / data from your old version. Unless you have a lot of time to go through all tables and manually modify / check them.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: how to copy data from the old database to the new one.
PostPosted: Sun Oct 23, 2011 4:26 am 
Offline
CRE Newbie

Joined: Wed Aug 24, 2011 7:45 am
Posts: 26
Hi Simon,

the problem is that my old Db is really big, it won't be copied through the upgrader. I've tried to leave my computer on for the whole night, the second day i checked, it is still copying :).

so what i did was to make a dump file of my old db, then empty all the records in the old db. they copy the old db to new one with loaded commerce upgarder. then load the dump file to the new db, then my new db strucutre was replaced by the old one. I hope you get my point, it's really a headache :(

I tried to save my old db tables one by one as xls file, then loaded it to the new db. that worked fine, and would keep my new db structure. but since i have more than 100 tables, it's also a lot of work to do it manually.

Thanks.


Top
 Profile  
 
 Post subject: Re: how to copy data from the old database to the new one.
PostPosted: Sun Oct 23, 2011 5:53 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2394
Location: New Zealand
Sounds unlikely.

So if you truncated all the non-essential tables - eg sessions, visual verify code, whos online, don't copy over configuration or configuration groups, infobox heading, infobox configuration ... optimise all the remaining, what size dbase have you got after that ?

Worse case scenario - you compare table structures and insert rows from each table of the old dbase. Sure, takes a while - depends on what version of cre you're upgrading from (the older the longer that'd take.)

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: how to copy data from the old database to the new one.
PostPosted: Mon Oct 24, 2011 5:15 am 
Offline
CRE Newbie

Joined: Wed Aug 24, 2011 7:45 am
Posts: 26
after i customized table, i managed to have my old db to shrink it's size to 145mb.

I eventually managed to copy the DB over to the new one by duplicating the old db and added a few extra tables from 6.5. although I still can't copy the old db directly from to the new one. my old db is based on loaded 6.2. but by adding few new tables that are existing in 6.5, i managed to copy it over. weird enough, but i think you are right, the older the version you are upgrading from, the harder it will be.

now I'm working on integrating the functions / features from my old shop to the new one. I guess it will be another nightmare since the old shop has been customized a lot to it's original version of 6.2.

I'll come up with more question i believe :)

Thanks a lot for your suggestions Simon.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Thu May 17, 2012 10:26 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy