How to recover a deleted file?

The place for chatting and discussing subjects unrelated to Wesnoth.

Moderators: Forum Moderators, Developers

How to recover a deleted file?

Postby junoslord » July 10th, 2012, 10:58 pm

This totally unrelated to Wesnoth but I have a question about Windows...
more specifically the trash can... see where I'm going yet? :D

How, or, can I recall, I mean restore, items I sent away... I'm f*d, aren't I?

Cause I had an entire unit tree for my campaign, and most of my story background in the folder I blitzed. HELP!
Last edited by Elvish_Hunter on July 11th, 2012, 10:54 am, edited 1 time in total.
Reason: Edited title
America-- Land of the Free, home of the Brave! "And now that we've taken care of the Braves we're coming after the Free."

"BANNED!!! What the hell do you mean BANNED? All I did was call one narrow-minded, power-hungry Nazi moderator a narrow-minded, power-hungry Nazi!"
User avatar
junoslord
 
Posts: 82
Joined: June 11th, 2012, 3:13 pm
Location: Enveloping your left flank.

Re: Unrelated

Postby Crendgrim » July 10th, 2012, 11:04 pm

We are not a general-purpose support board. Moved to Off Topic.
UMC Story Images — Story images for your campaign!
User avatar
Crendgrim
Moderator Emeritus
 
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: Unrelated

Postby shadowm » July 10th, 2012, 11:07 pm

And your Windows version is?

More generally, you should be able to restore your files by double-clicking on the Trash/Recycle Bin icon, selecting whatever you find there that needs to be restored, right clicking on it, and choosing Restore or whatever.

That is, assuming your files went there in the first place. If you originally used e.g. Shift+Delete to delete them or the Trash/Recycle Bin is disabled for their source medium, they are actually deleted and gone for good for most practical purposes.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
I also made Wesnoth RCX, a team-color preview tool for artists and content creators.
Elsewhere: shadowmBlogFollow me on Twitter
User avatar
shadowm
Wesnoth.org Administrator
 
Posts: 6184
Joined: November 14th, 2006, 5:54 pm
Location: Chile

Re: Unrelated

Postby junoslord » July 10th, 2012, 11:14 pm

I'm running XP. But I already cleared the trash can...

So I guess it's gone. Thanks anyway, though.
America-- Land of the Free, home of the Brave! "And now that we've taken care of the Braves we're coming after the Free."

"BANNED!!! What the hell do you mean BANNED? All I did was call one narrow-minded, power-hungry Nazi moderator a narrow-minded, power-hungry Nazi!"
User avatar
junoslord
 
Posts: 82
Joined: June 11th, 2012, 3:13 pm
Location: Enveloping your left flank.

Re: Unrelated

Postby ancestral » July 11th, 2012, 1:47 am

Sometimes you can restore the system to a previous state, if so, maybe that would work. Otherwise, if it's gone gone, likely the only other option is data rescue/recovery software, which gets expensive.
Wesnoth BestiaryPREVIEW IT HERE )
Unit tree and stat browser
CanvasPREVIEW IT HERE )
Exp. map viewer
User avatar
ancestral
macOS Packager
 
Posts: 1107
Joined: August 1st, 2006, 5:29 am
Location: Motion City

Re: Unrelated

Postby Elvish_Hunter » July 11th, 2012, 10:55 am

junoslord wrote:How, or, can I recall, I mean restore, items I sent away... I'm f*d, aren't I?
shadowmaster wrote:That is, assuming your files went there in the first place. If you originally used e.g. Shift+Delete to delete them or the Trash/Recycle Bin is disabled for their source medium, they are actually deleted and gone for good for most practical purposes.
Not exactly. From a technical point of view, Windows only marks the corresponding sectors in the File Allocation Table as "available". But the files are still there, at least until they get overwritten, that's why if you have some files that need to be gone for good you need to use a shredder.
ancestral wrote:Otherwise, if it's gone gone, likely the only other option is data rescue/recovery software, which gets expensive.
Ye olde MS-DOS, up to version 6.22 included a tool called UNDELETE, but of course this won't work on FAT32, and NTFS.
However, there are several file recovery softwares around, and some of them are actually freeware, at least for personal use. Personally, when I accidentally deleted a file, I used Convar's PC Inspector File Recovery, although at the time I used Windows XP (it does not support Windows Vista or 7). It's freeware and there is also a specialized version for flash media.
However, when using this kind of softwares, bear in mind that they can't do anything if the file got overwritten (even by the installation of the recovery software itself), and that the more you use the computer, the higher are the chances that your file got nuked.
Also, according to point 1c of Posting Guidelines, I edited the title with a more meaningful one.
Last edited by Elvish_Hunter on July 12th, 2012, 9:34 am, edited 1 time in total.
Reason: Added some corrections
Current maintainer of The Sojournings of Grog, Children of Dragons, A Rough Life and Wesnoth Lua Pack
Co-author of The White Troll
On Wesbreak until the 21th of December
User avatar
Elvish_Hunter
Developer
 
Posts: 1359
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: How to recover a deleted file?

Postby Ravana » July 11th, 2012, 5:01 pm

I use dropbox to sync all wesnoth files between my computers and it also has option to recover deleted/edited files (to older version).
User avatar
Ravana
Moderator
 
Posts: 1472
Joined: January 29th, 2012, 12:49 am
Location: Estonia

Re: Unrelated

Postby shadowm » July 11th, 2012, 8:08 pm

Elvish_Hunter wrote:Not exactly. [...]

I said “for most practical purposes”. In my experience, it isn’t very easy to recover deleted files but I have done it before on an Ext3 filesystem (and hope to never have to do it again).
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
I also made Wesnoth RCX, a team-color preview tool for artists and content creators.
Elsewhere: shadowmBlogFollow me on Twitter
User avatar
shadowm
Wesnoth.org Administrator
 
Posts: 6184
Joined: November 14th, 2006, 5:54 pm
Location: Chile

Re: How to recover a deleted file?

Postby Elvish_Hunter » July 12th, 2012, 9:47 am

shadowmaster wrote:In my experience, it isn’t very easy to recover deleted files but I have done it before on an Ext3 filesystem (and hope to never have to do it again).
Yeah, for what I can read it's extremely hard to recover deleted files from ext3 and ext4 - although some programs do exists as well (extundelete, ext3undel, photorec).
But the OP was asking for help about Windows, and I don't think that he's using a ext4 partition on Windows with a special driver. :P It's much easier to undelete on FAT32 or NTFS, at the point that there are a lot of free tools available (more than I expected). This list may be a good starting point.
Current maintainer of The Sojournings of Grog, Children of Dragons, A Rough Life and Wesnoth Lua Pack
Co-author of The White Troll
On Wesbreak until the 21th of December
User avatar
Elvish_Hunter
Developer
 
Posts: 1359
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: How to recover a deleted file?

Postby Ferrariz » August 30th, 2017, 9:02 am

I've tried Recuva. It did a good job of finding deleted files, but (at least when recovering to a different drive - the only safe way to do it) it ignored the directory structure. I now have a directory with 45,717 recovered files. It reported the original file path but ignored that on recovery. And if I tried recovering only a specific folder it still ignored subfolders, and also included files from unknown folders - over 4000 files. Ugly! The free Pandora Recovery https://www.pandorarecovery.com/undelete-files.html has a 1GB limit and I have over 21GB of deleted files I don't need to recover all of them, but the really important files - some backups - total well over 1GB. If it recovers the directory structure I'm willing to buy the full product, but I want to have that confirmed before I waste money on it.
Ferrariz
 
Posts: 3
Joined: August 23rd, 2017, 11:19 am


Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 2 guests