Copying single account from slave drive?

tmallardi

Well-Known Member
Jan 18, 2005
69
0
156
El Paso, TX
After a recent OS corruption, my server has been reloaded with a fresh OS and cPanel. The previous hard drive, although no longer bootable, is still readable and has now been mounted as a slave.

It appears to me that that the cPanel migration scripts are designed to use backed up data only.

Is there a script that will grab an existing user folder from a local hard drive and properly migrate it back into cPanel?

Thank you in advance,
Tim
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Just to clarify, you can read and copy the data but you cannot run any commands on that drive, right? If so and there are no existing backups, you'd need to manually copy the data instead. The only way to get the data into a packaged account is to be able to run /usr/local/cpanel/scripts/pkgacct username from command line.
 

backupgreen

Registered
Oct 5, 2012
3
0
1
cPanel Access Level
Root Administrator
The following article may help.
blog.eukhost.com/webhosting/restoring-cpanel-server-from-crashed-harddisk-or-migrating-cpanel-servers/

Note: Ask from expert before run any of above commands.