Hi: I was working on a perl file (using winscp on vista 64 bit) and something happened, i had close winscp and start again.
now, after reopening connection, i discover that the file is empty.
i had taken almost 6 hours to create that file (coding).
Anyone can guide me how to recover my lost file from it's directory, inode or whatever.
C J.
Status:
Active
Comments
Submitted by andreychek on Tue, 12/29/2009 - 12:15 Comment #1
Howdy -- is the work you put into that all something you had done today? That is, are there any backups containing previous versions of that file?
NOt all was done today. I think half of it was done today. but the file was updated today many times in the last few hours.
No. i did not create any backup of that file called subs.pl in /usr/share/s.0
winscp closed so quick and suddenly that i did not get a chance to make a backup on my pc too.
Submitted by andreychek on Tue, 12/29/2009 - 12:40 Comment #3
Yeah, outside of having a backup, I don't think there's much you'll be able to do to retrieve your lost work.
I'll pass this along to Jamie in case he has any miracles up his sleeve, but I suspect you'll end up needing to redo all that -- sorry!
Submitted by JamieCameron on Tue, 12/29/2009 - 12:41 Comment #4
Sorry, but unless you have a recent Virtualmin backup of that file, it is gone ..
Submitted by andreychek on Tue, 12/29/2009 - 12:53 Comment #5
Yeah, looking at the file there, it's definitely blank and 0 length. It looks like that occurred at 10:32 today, or roughly 2 hours and 20 minutes ago.
Sorry, it doesn't look like there's anything we can do...
Submitted by JamieCameron on Tue, 12/29/2009 - 13:08 Comment #6
The only possible way the data might be saved is if there's a backup file with a similar name in the same directory, such as .foo.pl.backup or foo.pl~ .. some editors create those.
Thanks for your replies and check in.
Greatly appreciate your efforts to help me.
Just beginning to redo all over again.