Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Posts
    84
    Plugin Contributions
    0

    red flag Importing tables separately

    Hi,

    I am upgrading from v1.3.7 to v1.3.9 and was wondering if the following steps would work. Please advise. Thanks.

    Plan A:
    1. Backup only the standard core zen cart tables (without third party modules) in the live shop database.
    2. Import this database into a new empty database.
    3. Upgrade the standard core zen cart tables in the new database to the latest version.
    4. Install the latest third party modules in the new database.
    5. Backup the new database (both the standard core zen cart tables and third party module tables).
    6. Repeat step 1 to include new orders.
    7. Import this latest live shop database into the new database to combine everything together.

    Plan B (if A doesn't work):
    1. Backup only the standard core zen cart tables (without third party modules) in the live shop database.
    2. Import this database into a new empty database.
    3. Upgrade the standard core zen cart tables in the new database to the latest version.
    4. Install the latest third party modules in the new database.
    5. Backup only the latest third party module tables (the standard core zen cart tables) in the new database.
    6. Repeat step 1 to include new orders.
    7. Empty the new database and import the latest live shop database.
    8. Repeat step 3.
    9. Import the latest third party module tables.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Importing tables separately

    Neither is advisable.

    Why not just follow the instructions provided?
    You should NOT be picking-and-choosing which tables to move. They all work together. Separating them simply subjects you to corrupted data and needless wasted downtime.
    .

    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
    May 2010
    Posts
    84
    Plugin Contributions
    0

    red flag Re: Importing tables separately

    Hi DrByte

    Thanks for your advise. I suspected both would not work but just wanted to confirm. I came up with those ideas because the instructions I used seem to take forever and made me be stuck in a loop. Here is what I have been doing:

    Backup and load all the tables from the live shop to a new empty database. Upgrade all the tables to the latest version. Reinstall/upgrade all the third party modules that are needed and uninstall those that are not needed. However not all the third party modules have an uninstall sql file (I am stuck here). By the time I finished doing all this, new orders came in. I drop all the tables in the new database and load all the tables from the live shop again. When I do this, all the third party modules will need to be reinstalled/upgraded/removed again (this is also a pain).

    A few questions please:
    1. Any idea how I can do the above better?
    2. I want to remove the third party modules that don't have an uninstall sql file. Would you be able to help me make the uninstall sql if I show you their install sql files?
    3. Out of curiosity, I have this idea. Can you tell me if this would work?
    - Set up 2 new empty databases. Backup and load all the tables from the live shop to the first new empty database. Upgrade all the tables to the latest version. Reinstall/upgrade all the third party modules that are needed and uninstall those that are not needed. Do another new backup of the live shop and load it into the second new empty database. Upgrade these tables to the latest version. Do a backup of the second database and then load it into the first database. Would everything combine well without problems?

    Thanks again.

 

 

Similar Threads

  1. Importing old DB to new only brings in 29 tables
    By rstevenson in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 4 Sep 2011, 10:59 PM
  2. Billing shipping separately?
    By harvestpumpkin in forum General Questions
    Replies: 1
    Last Post: 10 Nov 2010, 01:31 AM
  3. Importing data into tables
    By john_c in forum General Questions
    Replies: 1
    Last Post: 18 Feb 2010, 10:38 PM
  4. Importing db tables/rows from 1.3.0.1 to 1.3.8a - possible?
    By bodyjewelrystores in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 16 Apr 2009, 02:45 PM
  5. Importing only certain tables of a backed up database
    By CandleMan in forum General Questions
    Replies: 7
    Last Post: 25 Oct 2008, 03:15 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