Hi,
I wanted to upgrade from centOS 5.5 to CentOS 7 without losing the data.
Is there any upgrade path available?
or what is the proper way to do it without affecting the existing config?
Thnaks for the help
On 05/05/16 01:13 AM, Venkateswara Rao Dokku wrote:
Hi,
I wanted to upgrade from centOS 5.5 to CentOS 7 without losing the data.
Is there any upgrade path available?
or what is the proper way to do it without affecting the existing config?
Thnaks for the help
So much changed from 5 to 7 that a re-install is almost certainly the way to go. How exactly you port your config depends entirely on what programs you are talking about.
The best idea is to create a virtual machine (or install centos 7 on spare hardware), figure out how to configure the applications and the process to restore the data from backups. Once you know what to do (and have documented it), reinstall.
On 05/05/16 17:13, Venkateswara Rao Dokku wrote:
Hi,
I wanted to upgrade from centOS 5.5 to CentOS 7 without losing the data.
Is there any upgrade path available?
or what is the proper way to do it without affecting the existing config?
Thnaks for the help
Install another hard drive or SSD, partition it / install CentOS 7, telling Anaconda to leave your existing drive alone. Once done, and rebooted, you can mount the old drive and copy what you need over using cp or rsync. Enjoy
On 05/05/2016 12:13 AM, Venkateswara Rao Dokku wrote:
Hi,
I wanted to upgrade from centOS 5.5 to CentOS 7 without losing the data.
Is there any upgrade path available?
or what is the proper way to do it without affecting the existing config?
Thnaks for the help
Others have touched on this, but you do need to consider how many versions the programs have jumped from 5.5 to 7.
Configurations for many things are going to need to be completely redone.
For example: Apache moves from version 2.2.3 to version 2.4.6 .. so you will need to google and read how to upgrade from apache 22 to apache 2.4
samba (if you use it) moves from version 3.0.33 to version 4.2.3, major config changes needed.
mysql from 5.0.77 to mariadb 5.5.44 - data is required to be upgraded and new config.
Basically, if this is a server, every service you run is going to make major version jumps and most of them will require new configurations. Some of them will require some kind of data conversion and configuuration changes.
So, this is a complete process and not an upgrade.