Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    May 2008
    Posts
    188
    Plugin Contributions
    0

    Default Database upgrade - will this wipe added tables from mods

    We're getting ready to update our site to 1.3.9d from 1.3.8a.

    We have decided the best way to do this for us is to rebuild from scratch - main reason being when we first started out a number of modifications were made to core files when installing add ons / customising the site. We therefore want to get a fresh install which will stand up to future upgrades etc.

    We created a demo folder and ran the install script - all grand. We then backed up the database from our live site and threw the backup onto the new demo folder (so we can test and play with the demo site with a view to replicating our current one) This immediately propmpted a database upgrade which we have done.

    My question is - what exactly does this upgrade do with additional tables created by add ons. Ultimately after testing we will be looking to take the then current 1.3.8a database from the existing site and slot it back into the 1.3.9d - which will prompt for a database upgrade again. Will this upgrade wipe any add ons / amendments to the database which we create in the mean time ?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Database upgrade - will this wipe added tables from mods

    It shouldn't affect any database changes made by mods unless there's an out-and-out conflict with them. And given how minimal the database changes were for 1.3.9, that's very unlikely.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Database upgrade - will this wipe added tables from mods

    i'm doing the same thing here with my site.
    0
    demo site running off 1.39d test.gorillagear.ca -upgrade from 1.38a database (2weeks ago) with new mods and some mod upgrades that required database changes
    live site running off 1.38a www.gorillagear.ca - old site but for the last few weeks keeps getting new orders and customers.

    now i want to added the new info from the live and put it into the demo site before switching? how should i do this
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Database upgrade - will this wipe added tables from mods

    Quote Originally Posted by MB1 View Post
    i'm doing the same thing here with my site.
    0
    demo site running off 1.39d test.gorillagear.ca -upgrade from 1.38a database (2weeks ago) with new mods and some mod upgrades that required database changes
    live site running off 1.38a www.gorillagear.ca - old site but for the last few weeks keeps getting new orders and customers.

    now i want to added the new info from the live and put it into the demo site before switching? how should i do this
    1. Put the site into maintenance.
    2. Move 1.38a database to your test system.
    3. Reconvert the database (including any db updates needed for your mods).
    4. Retest.
    5. Move the site including database to the live location (or repoint the live location to what was the test site)
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Database upgrade - will this wipe added tables from mods

    ok so when i'm ready to go live i should

    1. upgrade my current live site's database
    2.then add all the mod database changes that i've done on the test site.
    2.then test database on test site
    3.once ready point the url to the test site

    sounds easy enough
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Database upgrade - will this wipe added tables from mods

    You should put your live site into maintenance first, unless you're confident of not receiving orders during your conversion - though it's best to make sure.

    You only need to apply database updates for mods that are not already in your live database.

    Yes, pointing the URL to the tested site is my preference too. Most people seem to prefer the idea that the location of a site is fixed and the tested version moves to that location. I've always wondered why they would want to put themselves through the stress of moving a couple of thousand files and often the database too, when there's a tested version nearby that needs only to be pointed to.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Database upgrade - will this wipe added tables from mods

    Quote Originally Posted by kuroi View Post
    You should put your live site into maintenance first, unless you're confident of not receiving orders during your conversion - though it's best to make sure.

    You only need to apply database updates for mods that are not already in your live database.

    Yes, pointing the URL to the tested site is my preference too. Most people seem to prefer the idea that the location of a site is fixed and the tested version moves to that location. I've always wondered why they would want to put themselves through the stress of moving a couple of thousand files and often the database too, when there's a tested version nearby that needs only to be pointed to.
    Another big advantage of kuroi's approach is that you won't end up with old files left over from mods you may have installed at some stage but you won't be using anymore in the upgraded store. In other words, you re-start your shop with a 'clean' file system .

  8. #8
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Database upgrade - will this wipe added tables from mods

    how about just inporting the tables for the customers and orders?
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Database upgrade - will this wipe added tables from mods

    If you're confident that nothing else has changed, understand which tables go together (e.g. the address_book has to go with the customer tables) and are happy to do the 1.3.9 upgrades to the orders tables by hand, then that would be a viable path.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #10
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Database upgrade - will this wipe added tables from mods

    i think i will be tackling this in the next few days
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v138a Copying database tables in upgrade
    By godt in forum General Questions
    Replies: 10
    Last Post: 15 Nov 2013, 11:20 PM
  2. Upgrade from 1.3.0.2 to latest with database mods
    By jameswilson in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 3 Oct 2010, 09:30 PM
  3. This will wipe any existing data. You are NOT in Upgrade mode!!!
    By Rugbythug in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 1 Aug 2010, 04:31 PM
  4. Database upgrades with custom tables added
    By mrmeech in forum General Questions
    Replies: 4
    Last Post: 5 Jan 2008, 07:56 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