Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    130
    Plugin Contributions
    0

    Default Upgrade Account Data from DB Patch Level: 1.2.7 to DB Patch Level: 1.3.0.2

    I built a new Zen Cart store with as fresh install of 1.3.0.2

    I want to move my user account info from 1.2.7 to 1.3.0.2

    I need my current account holders to be able to login with their passwords and have their address information.

    I do not need to keep the order history for my users as I have restructured the catalog in the new store and all my products have new product IDs ( I have notified the customers that their rorder histories will not be available when the new store comes online).

    I want to know if I can just copy the following tables from 1.2.7 over to 1.3.0.2 without breaking the store:

    customers
    customers_info
    address_book
    address_book_format

    Is this possible or would I break my new store if I did copy these tables from 1.2.7 to 1.3.0.2?

    thanks,

    P

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade Account Data from DB Patch Level: 1.2.7 to DB Patch Level: 1.3.0.2

    If you must do a selective table-by-table copy of data, this link should help you identify which tables to work with.

    HOWEVER.... YOU MUST FIRST upgrade your 1.2.7 database to v1.3.x (latest) structure by running zc_install (using the 1.3.x version of zc_install files) and choose Database Upgrade.

    THEN, after you've upgraded the database structure, THEN you can selectively export/import the tables appropriate for the data you wish to move.

    Table Groups:
    http://www.zen-cart.com/forum/showthread.php?t=27393
    or more details on what's where and how it works:
    http://www.zen-cart.com/wiki/index.p...atabase_Schema
    .

    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.

  3. #3
    Join Date
    Feb 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: Upgrade Account Data from DB Patch Level: 1.2.7 to DB Patch Level: 1.3.0.2

    So would this be the right sequence:

    1. back up

    2. copy zc_install folder from 1.3.0.2 installation over to 1.2.7

    3. set file permissions

    4. take 1.2.7 down for maintenance

    5. Run Database upgrade

    6. Copy tables:
    address_book
    customers
    customers_info
    group_pricing

    to 1.3.0.2 database

    Thanks,

    Pic

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade Account Data from DB Patch Level: 1.2.7 to DB Patch Level: 1.3.0.2

    A - configure everything on your 1.3 site as desired

    B - bring customer data forward
    1. back up
    2. copy zc_install folder from 1.3.0.2 installation over to 1.2.7
    3. Don't need to set file permissions for database-upgrade-only
    4. take 1.2.7 down for maintenance
    5. Run Database upgrade on 1.2.7
    6. Copy tables from 1.2.7 to 1.3.x via export/import

    C - finish the process of making 1.3 live
    .

    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
    Feb 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: Upgrade Account Data from DB Patch Level: 1.2.7 to DB Patch Level: 1.3.0.2

    Thank you, I wanted to make sure I didn't make a mistake.

 

 

Similar Threads

  1. Database Patch Level
    By PinkLeopard in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 19 Oct 2010, 07:39 AM
  2. 1.3.8 Database Patch Level: 1.3.9f ??
    By stefanl in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 16 Sep 2010, 05:02 PM
  3. Patch Level
    By kbalona in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 17 May 2008, 07:01 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR