Our system recently stopped working--we can still SSH, but most programs on our server result in an Input/Output error, so we can't SSH out of the server, open FTP to it, etc.
I have a MySQL database I absolutely must not lose--I can see the files in
/var/lib/mysql just fine, but I have absolutely no way to get them out of the system. The drive
/ with type
ext4 is the bad one--as I understand it, I need to run
fsck, but these prompts scare me quite a bit.
If I see the files in
/var/lib/mysql, it means they're okay, and there's no way fsck will delete them if part of them are damaged? I can just run
fsck -y and stay calm? My provider told me that I need to shutdown the system to connect the new HDD to move my stuff to it, but I am incapable of rebooting without repairing the drive.
Can I run
fsck -y without worrying?