Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Upgraded ready to go live. Merging new data?

    I upgraded from 1.3.0.2 to 136 in a temp directory and everything is working fine.

    During the upgrade and testing I received a lot of new data in my original database. What is the best way to get it to my new database so I don't loose it on my new site. Im not sure of the differences in databases between the two Vs or in the way my php deals with existing data.

    With my limited understanding of the details I see these as my options and am looking for some affirmation or a kick to the head.

    Do I use myphp and export all the old data to a file and dump it into the new database? Will I have duplicate data or ???

    Move Zen to my live dir, create a new database and run the upgrade install again?

    Help!!!
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Upgraded ready to go live. Merging new data?

    In theory ...

    You backup your NEW site database and site ...

    You put the LIVE site down for maintenance ...

    You backup your LIVE site database and site ...

    You empty the tables on the NEW site database ...

    You load the LIVE site database into the NEW site database ...

    You run the zc_install Database UPGRADE on the NEW site database ...

    NOTE: this is now going to be your LIVE site database ...

    You edit the 2 configure.php files on the NEW site to have the paths that your LIVE site has ... do NOT change the database as this is using the NEW LIVE site database already ...

    You move the files from the LIVE site directory to /old_site

    You move the files from the NEW site directory to your /LIVE site directory (which may be the root)

    You test test test ...

    If all is working ...

    Take your LIVE site (which is now your NEW site files with the LIVE site database in the NEW site database that has been UPGRADED) and turn OFF the down for maintenance ...

    You should then be good to go ...

    NOTE: you can practice this up to the point of renaming the directories several times to get the hang of it ...

    NOTE: any custom work to the database such as a new template should have been activated after the UPGRADE of the NEW database before the change ... any setting changes ... Payment, Shipping and Order Total modules are always a good idea to: Write down settings, Remove, Install and reconfigure each one ...

    Read this about 12 times and you should be ready to try it ...

    Don't forget to backup everything ... or you will be doomed ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: Upgraded ready to go live. Merging new data?

    You load the LIVE site database into the NEW site database ...

    How is this done?
    Export data from the live db and import it to the new one?

    Should I backup first :)
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Upgraded ready to go live. Merging new data?

    Quote Originally Posted by inksale View Post
    "You load the LIVE site database into the NEW site database ..."

    How is this done?
    Export data from the live db and import it to the new one?

    Should I backup first :)
    Yes and yes.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: Upgraded ready to go live. Merging new data?

    Thanks for the help,
    Its all up and working fine now. (So far)
    Doing a little more testing and it will go up live.
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

 

 

Similar Threads

  1. v151 Upgraded from 1.3.8a using a New Install - How to transfer data and template?
    By WalterJillett in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 11 Oct 2013, 01:14 PM
  2. v151 Data base merging
    By sparktronic in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 23 Feb 2013, 07:38 AM
  3. Merging Product Data from another store.
    By SDImagine in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 13 Apr 2010, 06:29 PM
  4. Demo data and live data on same server?
    By NaturalEnquirer in forum General Questions
    Replies: 1
    Last Post: 28 Jan 2009, 01:47 AM
  5. Ready to go live - new problem - sidebox called "Documents"
    By ginginca in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Dec 2006, 12:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg