August 9, 200817 yr 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
August 9, 200817 yr See the FAQ at http://lime-technology.com/wiki/index.php?title=FAQ#How_can_I_undelete_files_from_an_unRAID_disk.3F
August 10, 200817 yr 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....
August 10, 200817 yr 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.
August 10, 200817 yr 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.
August 11, 200817 yr Wow, too bad this wasn't already implemented for poor Søren. Accidentally deleted 10GB of data and isn't even sure what was deleted. Would be nice to be able to just go check the trash share and be able to undelete it. http://lime-technology.com/forum/index.php?topic=2334.0;topicseen
Archived
This topic is now archived and is closed to further replies.