Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

What's the current way to recover deleted files?

Featured Replies

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?

 

  • 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!

 

  • Community Expert

I do not know of any standard Linux capability for handling the undelete.    

  • 3 months later...

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

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 $

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?

Its explorer is read only.   It saves the files elsewhere AFAIK    if it doesnt then yeah you will have to rebuild parity

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.

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

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.

  • 8 months later...

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

  • 4 years later...

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.