Performing upgrade from a live site on a localhost
Posted: Fri Oct 28, 2016 5:21 am
Hey guys,
I am looking to upgrade my live webshop from 1.5.6 to 2.3
So far i understand the upgrade process on the live website, but i don't want to much downtime.
I have made some custom adjustments and have different add-ons installed of which a few become obsolete and are not needed anymore with the newer version, others need to be updated aswel too.
For my current site i completely redid the default theme and this is what i'd like to do with my upgraded also.
To keep downtime to a minimum i'd like to perform the upgrade on a localhost first and than perform it on my live site.
This way i can install all the needed add-ons, change the theme etc while my live site is still up and running without changes.
Now comes the difficult part for me... i have never copied my live site to a localhost yet and got to work properly.
I tried this several times but i am affraid al though i have read different how-to's i am doing something wrong.
So i have a few questions:
Before i go do this
- When i backup my live site to a localhost and than perform the upgrade and swap that back to my live site, will my stock count be from the time i upgrade the live site, or from the moment i downloaded the backup to the localhost?
About setting up the localhost
- Would i need a fresh install at my localhost first, before copying my live site to the localhost?
- When i copy my live site files and folders to my localhost, do i perform an install of some kind?
- How do i get/make the appropriate config files for my localhost if i do not use a fresh install?
About copying the upgraded localhost files to the live site again
- Do i need to install the upgrade on my live site first and than copy the edited files from my localhost into the live site folders ? Or do i copy the upgraded files from my localhost directly into my live site folder and than perform the /install command again to initiate an upgrade?
- Will i have to manually edit the config files to match the newer version, or will it automatically be updated?
Thank you so much for your time, hope you are willing to give me (some of) the answers.
Kind regards, Anton
I am looking to upgrade my live webshop from 1.5.6 to 2.3
So far i understand the upgrade process on the live website, but i don't want to much downtime.
I have made some custom adjustments and have different add-ons installed of which a few become obsolete and are not needed anymore with the newer version, others need to be updated aswel too.
For my current site i completely redid the default theme and this is what i'd like to do with my upgraded also.
To keep downtime to a minimum i'd like to perform the upgrade on a localhost first and than perform it on my live site.
This way i can install all the needed add-ons, change the theme etc while my live site is still up and running without changes.
Now comes the difficult part for me... i have never copied my live site to a localhost yet and got to work properly.
I tried this several times but i am affraid al though i have read different how-to's i am doing something wrong.
So i have a few questions:
Before i go do this
- When i backup my live site to a localhost and than perform the upgrade and swap that back to my live site, will my stock count be from the time i upgrade the live site, or from the moment i downloaded the backup to the localhost?
About setting up the localhost
- Would i need a fresh install at my localhost first, before copying my live site to the localhost?
- When i copy my live site files and folders to my localhost, do i perform an install of some kind?
- How do i get/make the appropriate config files for my localhost if i do not use a fresh install?
About copying the upgraded localhost files to the live site again
- Do i need to install the upgrade on my live site first and than copy the edited files from my localhost into the live site folders ? Or do i copy the upgraded files from my localhost directly into my live site folder and than perform the /install command again to initiate an upgrade?
- Will i have to manually edit the config files to match the newer version, or will it automatically be updated?
Thank you so much for your time, hope you are willing to give me (some of) the answers.
Kind regards, Anton