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.

Undelete in unRAID?

Featured Replies

Hi,

 

Is there an undelete utility in unRAID (v4.3.3) that can recover deleted files?

 

I was stupid and have accidently delete some files while playing around with my unRAID system - and unfortunately I don't have a backup.

 

Hope someone can help.

 

Thanks,

Søren

I did the same thing a few weeks ago.  Fortunately, it wasn't a critical file, but it did get me to google around on the topic.  I came across the following idea to simulate a trash behavior.  If anyone knows how to script this please do!

 

http://www.linuxforums.org/forum/linux-newbie/4379-reiserfs-undelete.html

(5th comment)

"...create a few scripts to mimick a trash can. Create a dir like /trash(chmod it 1666) and create a script to replace rm. Have it mv the file to trash so it can be recovered later if you need it. Then just create a cron which empties the trash or another script to do it."

 

The biggest problem I see doing this with unRAID is finding a way to force the rm (aliased to mv) to move the file to the trash on the same disk as the file being deleted to prevent a simple rm from taking a couple of minutes while it copies that 2GB file you are deleting to the trash from diskX to diskY.

 

Food for thought....

Although it is not too hard to write a script, or to alias the "rm" command to "mv" or "rm -i" this will only help if you make the mistake when typing "rm" on the unix command line.

 

It will not help when using SAMBA and shared drives.  It will not help when using midnight-commander.  Neither uses the "rm" command, they simply unlink the files and free the blocks used.

 

Joe L.

Maybe Tom could add a feature to the userfs?

Then it would work either way as long as all operations were done on the userfs.

Perhaps have an optional "Trashbox" user share that spans all disks?

Archived

This topic is now archived and is closed to further replies.

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.