what the necessary Cpanel configuration files to be restore with /home dir

Eltawoos

Member
Apr 19, 2014
15
0
1
Cairo
cPanel Access Level
Root Administrator
Hello,
I've more than 300 accounts working in Cpanel.
I'm so afraid about the kernal panic or system damage cause i don't take an internally full backup of the accounts.
So, if i have all /home dir files, what's the major configuration files we can backup it to ensure that all data will be restore fine.

More Explain: what the necessary configuration files i will using it after restore /home directories.
Like /etc/userdomains, /etc/passwd, /etc/shadow, .... etc ???

Please advice.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

It's not good idea to restored manually all configuration files. I will suggest you setup the offside backup of your all accounts so that you can restore all accounts from the offside backup
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

Restoring the /home directory manually is not supported or recommended. Instead, if you are going through the effort of backing up the entire /home directory, you should backup the accounts. The account backup archives generated through WHM include all of the data necessary to restore the account on a fresh installation of cPanel or another server with cPanel installed.

Thank you.