Restore procedure for system files

Jeroen Maas

Registered
May 28, 2017
4
1
3
Netherlands
cPanel Access Level
Root Administrator
Hi,

I'm new to cPanel. Currently running down a checklist of things i'd want know how it works before switching to cpanel. One really important thing for me is to be able to recover fast from downtime.

I've found the backup configuration in WHM and configured it to automatically backup to S3. This works perfect. I've also found a way to recover accounts. But i haven't found a way to recover the 'system_files.tar'. My question is: How would I restore my cpanel installation back to it's original state in case of a host/disk failure?

Regards,

Jeroen
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

Since you are new and are not aware, but the way cPanel backup is taken is just wonderful, so if you take a backup from withing the cPanel provided scripts, it will take complete architecture of the account, the complete thing, its complete existence on the current server, when you restore it back to new system or different cPanel server, it unpacks exactly how it is backed up.

cPanel configuration file related to the account.
Account configuration file that is for system (system user and data for that account).

Having said this, I can only say that if you have a proper cPanel backup of any account on the server, you can restore it back as it is with no hard efforts...
 

Jeroen Maas

Registered
May 28, 2017
4
1
3
Netherlands
cPanel Access Level
Root Administrator
Hi 24x7server,

Good to see the love for cPanel. The way of restoring account configuration is really nice indeed. But my question is more related to restoring server configuration. Think about things you configure in WHM like apache config, logging settings, notifications, backup settings, etc.

Regards,

Jeroen
 

WorkinOnIt

Well-Known Member
Aug 3, 2016
312
54
78
UK
cPanel Access Level
Root Administrator
There does not appear to be an easy way to restore from S3. If only that were possible ;-) I think there are feature requests that are outstanding for that, but I don't think it's on the roadmap [happy to be corrected]

Meanwhile, best practice is to have as many backups as you can. Backups on the server are only fine if the server is accessible. I would ensure you choose a datacentre or host that allows some kind of snapshot - preferably on a seperate cluster or external storage (another server or even better another datacentre?) or alternatively, install your own snapshot facility e.g. rsync or r1soft