Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have 2 dedicated servers at the moment both running CentOS 5.3 and Plesk 10, but I'm about to give up trying to transfer the data from old one to a new one, because they just wouldn't connect via Plesk.

Is there any other less painful way to transfer all the data and settings? Files, databases, emails, domains, I need it all on a new server.

share|improve this question

2 Answers 2

The problem with Plesk is that it creates a parallel configuration hierarchy to the standard OS one. Everything that normally lives in /etc and /var that's related to the Plesk-provided services gets mirrored somewhere under /usr/local[*]. Plesk only pays attention to its copy of the files.

Normal backup and restore strategies for a CentOS box therefore won't help you.

Plesk being Plesk, the "right solution" to this problem is to use Plesk's own backup and restore mechanisms, rather than try to go behind its back and play with the filesystem directly. There's a whole chapter on this in Plesk's user manual. If you had a backup, you could just restore on the new machine. (Ideally, anyway.)

If there truly is no way to make Plesk on the old machine give you a backup, you could try finding that /usr/local directory I'm referring to, and just try to mirror that tree, but I suspect all you will accomplish with that is to transfer your problem to the new machine. For that matter, I suspect a Plesk backup taken through the GUI at this stage would probably transfer the problem, too.

A better long-term plan is to learn enough about CentOS and Linux in general that you can move off Plesk onto a generic unmanaged VPS. When you build a server up from pieces yourself, you implicitly learn what has to be backed up, and how to restore it.

[*] I forget the details, having moved off Plesk years ago.

share|improve this answer

Actually I solved the Plesk issue, the problem was that SSH access was denied for all but couple IPs in hosts.allow file by my overly paranoid predecessor

share|improve this answer
    
Okay. Now do a backup. :) –  Warren Young Aug 23 '11 at 10:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.