Here are the steps I would recommend for any incremental Magento upgrade. You will need full command line access to your server.
TEST, test, test
Carry out the first upgrade on your development server. I use a VMWare virtual server so that I can take a snapshot of the running 1.9.1.x system before the upgrade. Then I can always revert to the previous version if I need to, or if I need to run the upgrade again.
Note that this upgrade method will only work when you are certain that all Magento core code, template and locale files/templates have not been modified.
BACKUP, backup, backup
- Take a backup of your Magento database.
- Take a backup of your 1.9.1.x installation folder.
Obtain the Magento CE 1.9.2.x source from the Magento download site
Unzip the source files into a working folder. This will create a magento folder containing the 1.9.2.x source.
Take your shop offline
- stop your cron tasks
- put the shop into maintenance mode
- touch /home/pathtomagentoroot/maintenance.flag
- or if use n98magerun n98-magerun.phar sys:maintenance
Copy the 1.9.2.x source over your 1.9.1.x installation
I like to use rsync to do this :
rsync -avI –exclude=app/etc/local.xml –exclude=app/etc/config.xml –exclude=index.php –exclude=.htaccess ./magento/ /home/www/magento/
Where /home/www/magento is the path to the 1.9.1.x installation. There are other ways of copying the files, the main thing to consider is not to overwrite any config files you may have modified, in the above rsync command I am excluding config.xml, index.php and .htaccess because I know I have some custom configuration commands in these files.
Reset Magento permissions
Update modman modules (if you use modman)
- modman update-all --force
Put shop online
- rm /home/pathtomagentoroot/maintenance.flag
- login to admin
- refresh caches
- test frontend
- test login
- test orders
- test new customer registration
Taken from http://blog.gaiterjones.com/upgrade-magento-ce-1-9-1-x-to-1-9-2-0/