Accidentally delete /root folder content [WHM/cPanel]

Operating System & Version
CentOS v7.9.2009
cPanel & WHM Version
cPanel & WHM v108.0.14 (STANDARD)

andrew.n

Well-Known Member
Jun 9, 2020
965
358
63
EU
cPanel Access Level
Root Administrator
If you don't have backups then you can't althoug cPanel/WHM stores little to none under /root folder. What is the error you are seeing? Have you re-created the folder?
 
  • Like
Reactions: Carlos Figueredo
Dec 3, 2018
6
2
3
Paraguay
cPanel Access Level
Reseller Owner
Hello.
Thanks for your replys.

I did it on accident trying to create a symbolic link because / partition is getting full.
I backup it firstly, but i also delete the backup:(:mad:

I run the script upcp and /root/.cpanel/ folder was created again.

Also my / partition is OK again.

I recreate folders like /root/.ssh/
Is cPanel use files from the /root directory??