Restore Accounts from home on secondary drive

Rama77

Registered
May 22, 2017
2
0
1
argentina
cPanel Access Level
Root Administrator
I have a very big problem, my server was attacked and the operating system was lost. Already it was reinstalled everything and it is working, the problem is that it could not be backed up and I only have with the old HOME directory with all the sites inside. How can i create cpmove files to recover sites? Or is there any other way to restore all user and sites from the original home directories?


The server is already working with cpanel configured as a fresh install, but with the same general configuration as the previous one, I only need to restore the sites, some idea, it is urgent, thank you very much!

Thanks
Ramiro

The old hard drive is connected and accessible on the server, I have all the complete files
 
Last edited by a moderator:

dccsi

Member
Feb 11, 2005
6
0
151
If the websites has only static contents you can create a new account for every website using cpanel and then copy the user home folder manually from the other harddisk and make sure from folder owner.

but the problem is if the website has data stored in the database like mysql, so you need to have mysql data folder ...

do you have the databases data folder?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Restoring accounts without backups is unsupported, however the following thread may help in situations where backups are not available:

Recover server from Disk Image

Thank you.