I need to upgrade magento to the latest version what is the right way to upgrade magento to the latest version?
overwrite old files with new files?
fresh installation?
or use the connect manager?
Roadmap from magento
Magento recommends you upgrade your installation using the following guidelines in a development or test environment, separate from your existing production environment:
Recommended. Set up a new system (that is, another host) on which to install Magento.
The system should be identical to, if not better than, your current system.
The new system must meet the Magento system requirements.
Or install Magento in a new, empty root installation directory on the same server.
Back up your Magento database.
Archive the file system.
This includes the media directory and subdirectories; all extensions and customizations; and all custom themes.
Create a new, empty database instance.
Import the production database tables into the development database instance.
Copy your production media directory, extensions, themes, and other customizations to the development system.
Copy local.xml to [your Magento install dir]/app/etc and edit it if necessary to reference the production database instance.
In a web browser, go to your development system base URL.
Wait for upgrade scripts to run.
Verify the development system is now identical to the production system.
If not, fix issues, retest, and upgrade again.
Verify all extensions, themes, and customizations work.
Place orders using all webstores and all payment methods.