Is backup from CentOS 5.7 and restore on CentOS 6.x allowed?

8 posts / 0 new
Last post
#1 Sun, 03/04/2012 - 15:28
username9

Is backup from CentOS 5.7 and restore on CentOS 6.x allowed?

Hello Guys,

I am currently running about 8 virtual servers on CentOS 5.7.

I would like to backup the virtual servers, install CentOS 6.x and then restore the backedup virtual servers on CentOS 6.x from my original backup. Is this doable? Are there any gotcha's?

Any help is much appreciated.

Best Regards, Aswin R \|/

Sun, 03/04/2012 - 16:08
Locutus

Generally, that should be no problem. Virtualmin backups are intended to be OS independent, and surely independent from such a small version jump. Presuming of course the Virtualmin setup is not totally different, like storing user emails or databases elsewhere.

Of course, the devil is in the details (e.g. the new system might be missing some PHP features or so), so to better be safe than sorry you should do a test run with this before you do it on a live system.

Sun, 03/04/2012 - 16:24 (Reply to #2)
username9

Thank you for your reply Locutus.

I have not modified any virtualmin defaults. I will see how to proceed. Thanks

\|/

|/

Sun, 03/04/2012 - 22:02
andreychek

Howdy,

Also, there's some docs that can walk you through performing a migration available here:

http://www.virtualmin.com/documentation/system/migrate

Sun, 03/04/2012 - 22:26 (Reply to #4)
username9

I have the cheapest client on the Planet. Hence I don't have the luxury of using a new server. I will backup the virtual servers, install the new OS, restore virtual servers from bkup and test. If it fails I will restore old OS and virtualmin bkup.

Thanks for the doc Andrey.

\|/

|/

Mon, 03/05/2012 - 03:43
Locutus

Yep, that migration guide Eric mentioned lists "reduce DNS zone TTL" as one step of the progress.

Normally that would be all valid, in case the migration includes a change of IP addresses. In your case though, where I assume the host and IP stays the same, that's not required.

Aside from that, the guide basically boils down to "take backups (make sure to include Virtualmin settings), install new OS, install Virtualmin, restore backups". :) So it should work this way. Testing is required though, like the guide also mentions.

Mon, 03/05/2012 - 08:08
andreychek

Howdy,

Migrating CentOS 5 to CentOS 6 will work -- you'll just need to plan for some downtime so that you can troubleshoot any issues that come up.

I might suggest installing CentOS 6 into a Virtualbox instance on your desktop, before doing the actual migration... and then as a test, installing the backups into it. That would allow you to do some testing, before wiping out your setup on your live server.

-Eric

Mon, 03/05/2012 - 08:10 (Reply to #7)
username9

Guys, Thank you all for your comments. I will let you know how it goes. Thanks

\|/

|/

Topic locked