if anyone has any ideas that would be great

noimad1

Well-Known Member
Mar 27, 2003
629
0
166
We have a server where the primary drive crashed. Unfortunetly we didn't have any backups. We are able to mount the drive as a secondary drive, but we can't run it as a primary drive as the operating system doesn't recognize it anymore.

All of our partitions were on that drive - /home/ /var/ /usr etc. If I load cpanel and os on a new drive is there any easy way to recover all the sites from that drive?
 

Jeff Shotnik

Well-Known Member
Oct 10, 2012
61
0
6
Denver, Colorado, United States
cPanel Access Level
DataCenter Provider
Does the OS see the partitions on the secondary (was primary/crashed) drive? If not, does the failed drive still spin when plugged in? Do you hear clicking, etc? If it sits and clicks you can try throwing it in the freezer for an hour or so and trying again - I've been able to keep a failing drive alive long enough to copy data off this way.

Did you also have cpanel backup files on the failed drive? If not, I recommend doing a straight copy of all the data from the old to new drive. If needed, I created a script I can share with you to copy all of the user/ftp/named/etc data over once an OS and cpanel has been installed. If you did have cpanel backups, copy those over and /scripts/restorepkg.