Server compromised. Need WHM backup for server reinstall

Nizzo

Member
Dec 30, 2016
21
2
3
Switzerland
cPanel Access Level
Root Administrator
Hello all,

Long time reader for solutions, first time poster.

I've been running a WHM server for a couple of websites for few years now, unfortunately the server got compromised through a Kernel exploit because i failed to update it.

I managed to track the user (i think) but regardless, i took the server offline as of couple of hours ago and planning to reinstall the OS.

Before i do that i was wondering how I can do a full backup of WHM settings so when i reinstall it i dont have to reconfigure the whole thing and set it back the way it was before?

Any advice is appreciated.

Thank you in advance.
 

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter

Nizzo

Member
Dec 30, 2016
21
2
3
Switzerland
cPanel Access Level
Root Administrator

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Backups are not enabled on your server? Settings for Backups are located here:
WebHost Manager »Backup »Backup Configuration

Docs for all this is located here:
Backup Configuration - Documentation - cPanel Documentation

Before i do that i was wondering how I can do a full backup of WHM settings so when i reinstall it i dont have to reconfigure the whole thing and set it back the way it was before?
You will need to reconfigure your server from the top. Depending on your backup settings you could be backing up system files, but they'll need to be restored manually.

Setting up a new server and restoring account backups to it from the old server might be easier.