May 6, 20206 yr I was using the console in 6.8.3 and accidentally deleted an entire folder of media files. I immediately stopped the array and started searching these forums and others. Unfortunately there isn't very much recent information about recovering deleted files. The older posts (10 years old) all reference older non-XFS file systems and their tools. The newer posts mention XFS but don't provide enough detail or specific tools to use. The Unraid docs all reference Reiser, not XFS. (https://wiki.unraid.net/index.php?title=FAQ#How_do_I_recover_data_from_an_unRAID_disk.3F) I know exactly which disk needs the recovery. Is there a current method of file recovery for XFS file system that you folks would trust?
May 6, 20206 yr Author 1 hour ago, trurl said: UFS Explorer is often recommended. Thanks. I have seen that but haven't been able to find any documented process specific to Unraid and XFS. If I have to I'll try that, but I am hoping for some input based on direct experience with 6.8.x. Thanks!
May 6, 20206 yr Community Expert I do not know of any standard Linux capability for handling the undelete.
August 10, 20205 yr I just ended up doing the same thing and deleted a folder while using MC while cleaning up some other files by mistake. I saw this, but its not installed on the unraid box... https://github.com/ianka/xfs_undelete I'm also on 6.8.3... any advice
August 10, 20205 yr You would need to install tcl to get that script to work. Not sure if it's available in NerdPack or DevPack. Personally, I'd go with UFS Explorer, although it does cost $
August 10, 20205 yr 29 minutes ago, Squid said: You would need to install tcl to get that script to work. Not sure if it's available in NerdPack or DevPack. Personally, I'd go with UFS Explorer, although it does cost $ Thanks - UFS Explorer seems to be the answer. What do I do. Shut down the server, pull the drive, put it into my windows machine and run UFS Explorer and undelete, put it back into unraid server and start it back up and everything would be fine? wouldn't parity be messed up?
August 10, 20205 yr Its explorer is read only. It saves the files elsewhere AFAIK if it doesnt then yeah you will have to rebuild parity
August 10, 20205 yr The answer to this is "From your backup(s)". unraid does not remove the need of backups. If you value your data, have a backup plan to follow.
August 11, 20205 yr 7 hours ago, Squid said: Its explorer is read only. It saves the files elsewhere AFAIK if it doesnt then yeah you will have to rebuild parity Thank you
August 11, 20205 yr 7 hours ago, BRiT said: The answer to this is "From your backup(s)". unraid does not remove the need of backups. If you value your data, have a backup plan to follow. I agree... That is the BEST answer... I guess I'm living on the wild side... also, not be tired and using "Midnight" commander and messed up a f6 vs f8 function - LoL.
April 23, 20215 yr Seems kind of painful just to recover my audiobook. If anyone ever needs to recover a deleted file you should make vid & post it! That would be awesome! :D
May 23, 20251 yr ugh similar boat, very frustrating there is not a good process for this. And yeah we all have data centers in garage for tons of backups, sure.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.