Recover files from vhost on Ubuntu 11
Hey everyone,
Im a semi experienced web developer and at my work we've recently had an issue with a series of files from /var/www/vhosts/ being deleted that we need to recover. We thought there was as a back up but sadly this wasnt the case. I've installed testdisk to try to pull files but there seems to be a major issue in that the file system is bad, hence nothing is being pulled up as deleted. I find it very odd that this happened but I am at a loss as to what to do. I was thinking about booting up Ubuntu from a USB stick and unmounting the drive (sba) and doing a file check on it. But my fear about doing that is that I would permanently loose the information. Am I alright in doing this or would there be another method to recover files? Thanks for any any all advice! |
Quote:
You COULD boot up via USB, and fsck the drives, but that's not really going to get you anything in this scenario. More importantly, before you power off/reboot/do ANYTHING else, you need to MAKE A WORKING BACKUP of what you've still got. And if you're a web developer, who is your systems administrator, and why aren't they taking care of all this? |
By backup of the current state the above advice means at least a "dd" type backup (or a snapshot) of the volume with the filesystem on it. Once you have that safely on a machine with no disk problems (and keep that backup unchanged) you have as long as you want to apply recovery tools to it - or refer it to someone else with skill in that area.
|
All times are GMT -5. The time now is 07:05 PM. |