restoring a bad logical volume
My father runs his insurance agency on a linux (centOS) server and, since the server's creator quit, I have been managing the server. I have managed to fix all of the problems we have run along, but I will now need to migrate the server onto a new harddrive.
The server runs on a LVM spanned across two harddrives, and one of those harddrives are failing. I need to move the LVM to a single drive while retaining the email, and file server settings. To complicate things I am 1000 miles away from this server, so I need to keep things simple. I currently access the server through ssh.
I flew up to see the server, and used DDrescue, and first forgot to move the seperate boot partition, and in my second attempt the dd failed, and I had to restore the linux partitions to get a boot. I run DDrescue using a live linux distro, and I think it would work, but I'm worried that it could fail again, and kill the server.
if I backed up the /etc directory, and saved the files could I could copy the etc to a fresh install?
I could also make a snapshot of the server, but there is only 100 megs of space to play with. is that enough for a ddrescue while the server is inactive?
What other methods would you all suggest to backup, and restore this server before the inevitable happens?