While restoring some directories within a website, I managed to let my fat fingers get in the way and regretfully delete (
I appreciate any help.
rm -Rf [directory] /* ... yes, with the space) way more files than desired. I quickly noticed errors flying down the screen and did a ^C to break the process. Long story short, I paralyzed myself in the OS because of removed binaries plus probably much more. There is no machine backup. An older outdated server is temporarily running from two months ago while I attempt to figure this out. Which leads me to my plea for help/recommendations, and I assume in this order of priority (please correct me!).- Is there a way to possibly recover files from disk with or without a live CD boot? The server was shutdown after this happened with no additional files intentionally written to disk.
- I tried the FreeBSD 10.1 CD boot and mounting the disk but could not figure it out (tried
mount /dev/da0 /mnt... also /dev/da0s1 and other variations). It's a RAID 10 array with no partitions and default FreeBSD 9 (upgraded to 10.1) install slices. - If recovery or side-load from CD are not possible, can I safely install FreeBSD on the disk and hopefully have the data files still there?
I appreciate any help.