The image below is a screenshot of the recovery process. Use lsblkto confirm the partition on which your lost files resided and execute sudo photorec (e.g. Photorec is quite straightforward to use and recovers files based on your selected file types into a selected destination. After frantically looking for tools to recover my scripts, I came across TestDisk/PhotoRec and photorec saved my bacon. My heart sank because I had no backup and hadn’t yet checked in my scripts into git. ![]() After spending a few hours on developing some scripts, I hastily fat-fingered a command and removed my entire scripts directory on my RHEL 7 server.
0 Comments
Leave a Reply. |