WHM Full Image Backup / Restore

monkey64

Well-Known Member
Nov 6, 2011
108
4
68
cPanel Access Level
Root Administrator
I'm new to WHM. Now I have had time to appreciate the power it and times it saves me, I'm looking at potential issues which could occur.

I do a full backup each day and that includes databases, home folders etc.
The wonderful Windows operating system over the years has taught me about the value of backing up the whole system. Is it possible to make an image of the whole WHM system including Apache, MySQL, and the home folders so that in event of a meltdown, I could always restore a current backup?

Is it just a case of copying all the files I see when I log into my root account using SSH? Actually that wouldn't work because I rely on WHM to provide the SSH server with which I would connect!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
363
Hello :)

Ideally, you should keep the account backups stored on a remote server. In the event of a drive failure, the recommended solution is to reinstall cPanel on a fresh Operating System, and then restore the accounts. Some third-party providers such as R1Soft do offer commercial solutions that include a full backup image of the entire system.

Thank you.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
I did want to mention that you might consider this feature we have as a request already:

http://forums.cpanel.net/f145/clone-server-configuration-case-42206-52043-a-144297.html

Since you mention a backup of WHM, I imagine you didn't just mean MySQL and the accounts but the Apache profile you have already, any exim configuration settings, any tweak settings, and any other WHM settings you have. The feature request above is to clone a server's configuration, which you could use as a backup. I actually would highly suggest creating a cloned copy of the server as much as possible so you have it during an emergency.

Since the feature to clone the machine doesn't yet exist as an option, you might review the following forum thread where some of the files this would involve are mentioned:

http://forums.cpanel.net/f5/process-moving-whm-cpanel-server-new-hardware-184192.html#post831162