. . .

Alternate Method For Magento Incremental Update

Published: May 16, 2013

On This Page

    In order to maintain all your tables and data the way it is, you often require to perform an incremental update for magento, doing it otherwise might make some of your data obsolete. Here is a simple step by step guide to perform magento incremental update:

    Magento incremental update

     

     

     

      • First you have to back up your existing database. You will need it later while importing the data and tables to your new database.

     

    To create backup you can use PHPMyAdmin or any other database export script of your choice. Other way to get backup of large database is using commandline. Mysqldump is the default mysql utility to create backup. Following is the example

     

    
    mysqldump -h localhost -u database user -pPassword database name > /path/to/dumfile.sql
    1. Next you have to check the version of your current installation, you can check it in footer section of your admin panel or you can check it in code in app/Mage.php file getVersion() function.

    2. Once you have identified the current version, go to Magento download page and click on archive tab. Click on Get next stable version, lets say your current version was 1.5.0.0 and the next stable version is 1.5.0.1, so you download that version and install it.

    3. Here is the url to download the 1.5.0.1 version:


      http://www.magentocommerce.com/downloads/assets/1.5.0.1/magento-1.5.0.1.zip

    4. If you are trying to update from a newer version here are the remaining URLs that can be used to download the latest version:

       

     

    1. Now import the DB backup you created earlier to your new Database. To import database you can directly enter the query if you have access or you can use the below in command line:




       

      
      mysql -h localhost -u dbuser -pPassword newdatabase < /path/to/dump.sql
    2. Once imported, extract the database and install it on new database.

    3. By the end of this, you have upgraded your magento installation to 1.5.0.1, then find the next stable version and repeat from step 4 to step 6. Keep on repeating the process till you have the latest version of magento installed.

    4. After upgrade copy the following files and folders from original site to new installation


      app/design/frontend/default/yourtheme


      skin/default/yourskin


      app/code/community/ for custom installed extensions


      media/ for copying images of products and categories

     

     

     

    Don't forget to share this post

      Let's Build Digital Excellence Together


      • Cost Efficient Solutions.
      • Minimal Timelines.
      • Effective Communication.
      • High Quality Standards.
      • Lifetime Support.
      • Transparent Execution.
      • 24/7 Availability.
      • Scalable Teams.

      Join Our 200+ Happy Clients Across Globe


      Free Consultation.

        Do you need tech help of your startup/business? Experts from our team will get in touch with you.

        Please do not post jobs/internships inquiries here.