kennelfort Posted May 6, 2020 Share Posted May 6, 2020 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? Quote Link to comment
trurl Posted May 6, 2020 Share Posted May 6, 2020 UFS Explorer is often recommended. 1 Quote Link to comment
kennelfort Posted May 6, 2020 Author Share Posted May 6, 2020 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! Quote Link to comment
itimpi Posted May 6, 2020 Share Posted May 6, 2020 I do not know of any standard Linux capability for handling the undelete. 1 Quote Link to comment
dcoens Posted August 10, 2020 Share Posted August 10, 2020 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 Quote Link to comment
Squid Posted August 10, 2020 Share Posted August 10, 2020 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 $ Quote Link to comment
dcoens Posted August 10, 2020 Share Posted August 10, 2020 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? Quote Link to comment
Squid Posted August 10, 2020 Share Posted August 10, 2020 Its explorer is read only. It saves the files elsewhere AFAIK if it doesnt then yeah you will have to rebuild parity Quote Link to comment
BRiT Posted August 10, 2020 Share Posted August 10, 2020 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. Quote Link to comment
dcoens Posted August 11, 2020 Share Posted August 11, 2020 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 Quote Link to comment
dcoens Posted August 11, 2020 Share Posted August 11, 2020 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. Quote Link to comment
xlucero1 Posted April 23, 2021 Share Posted April 23, 2021 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 Quote Link to comment
Recommended Posts
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.