I ran (stupidly) these commands:
mv ncdu/ /home/*
mv ncdu/ /var/*
Trying to move the ncdu folder into these directories. And it caused me to remove all my Apache directories in my /home/ folder, except virtfs
(cPanel).
As you can imagine, It's knocked out my websites and various other functionily.
I've noticed that /virtfs/
still have all the files of the websites.
How do I restore the /home
directory to how it should be? Is there a cPanel script I can run or do I have to create hardlinks manually?
I've also noticed that the var/yp
directory has a lot of the var
directories you would expect, can i restore from that?