Questions about recovering data. Includes data loss due to hardware failure, software failure, and user or administrator failure (accidental delete). Please also add tags for the specific things involved, such as /raid, /ext4, /hard-disk, /rm, etc.
Questions tagged [data-recovery]
868 questions
12
votes
1 answer
Read past end of file to recover data
A very old .swp file reverted a file I was editing, so it is now significantly shorter. I haven't done anything in that directory since, so the bytes immediately following the end of the file should still have my data. What function can I use to…

Matthew Bedford
- 223
10
votes
2 answers
File damaged/lost during transfer? Recovery possible?
I was at uni a few days ago when I attempted to cut and paste a 500Mb file (a 3gp video recording) into my H drive on one of the uni network's Linux (Debian KDE 3.5) computers.
I did not see any error messages indicating the cut-and-paste job had…

ptrcao
- 5,635
7
votes
2 answers
Recover single file in the $HOME directory
I accidentally run rm -r /home/xralf and quickly killed it with Ctrl+C.
It seemed that everything is OK, but I noticed that my .vimrc, which is importent for me, is missing.
I tried the command:
$ extundelete /dev/sda5 --restore-file…

xralf
- 15,415
6
votes
2 answers
Undo rm -r, restore data
I was playing around with zip and accidentally deleted my /home/ folder (I wanted to delete home/ which got created by unzipping an archive).
I used rm -r /home/instead of rm -r home/ as root. Is there anything I can do to restore my /home/ dir?
I…

Wandang
- 271
6
votes
4 answers
Recovering data from external hard disk error
I am trying to recover a hard disk. The external hard disk is recognised, and the Disks software in Ubuntu that the disk is OK, but has one bad sector. Is it possible to recover the data? I tried testdisk and photorec as suggested by some solutions,…

infoclogged
- 979
5
votes
2 answers
Recover data from damaged hard Drive - External USB HDD
I am helping a friend to recover data from damage external hard drive .
(USB 2, 120GB, WD, single partition, FAT32)
Problem:
When plug in this HDD into a windows PC, the HDD can be detected, but the drive did not show up.
Checked using 'Disk…

tankf
- 51
4
votes
2 answers
What tools can I use to recover files from an old harddrive?
I found an old hard drive of mine yesterday and found that it fits into my current laptop. When I started it up, however, it got to the Win XP loading screen and then restarted.
Then I thought, if I run some Linux distro off a flash drive, then…

Korgan Rivera
- 2,553
4
votes
2 answers
How to recover my directory structure and files from a messed-up partition
Something strange (don't ask) happened on my external hard-drive, resulting in (important) data being unreachable... I am failing to mount it. That data was sitting on a vfat filesystem.
I can get much of it with one tool, foremost. It sorts it into…

tshepang
- 65,642
3
votes
1 answer
Commands to access a SATA drive
I've damaged the drive I had in my Windows laptop and now I want to try to recover as many files as possible. I know very little about Linux though.
I have Ubuntu 10.04 on another machine. I have a docking station for the drive and it is connected…

Shane
- 133
3
votes
3 answers
Recovering an overwritten file
I accidentally misused the cp command and overwrote one file's contents on an ext4 filesystem. Is there anyway I can recover this old file's contents and possibly its metadata (i.e., last write time, etc.)?
I'm aware that mv frees up blocks for…

Melab
- 4,048
2
votes
2 answers
Have I lost my sentimental data
Hello people I have a really big problem that I need help with. Yesterday i installed parrot OS home edition with full disk encryption ( I have the pass phrase) onto my 1TB external HDD which has a lot of sentimental photos and videos of family and…

Joseph
- 21
2
votes
1 answer
How to undelete only the audio files that might have got deleted earlier?
Today I got upset to see that a few audio files (all under one directory) that were there in my Ubuntu 15.10 system were missing. So, as my system was sometimes used by another person, I suppose it was intentionally deleted by him. It might be…

Ravi
- 3,823
2
votes
1 answer
Recovering accidentally deleted files, block device
I accidentally deleted /dev/loop special block device. Is it possible to recover it?

Asma Sarhan
- 21
2
votes
2 answers
Find newest version of file recovered by PhotoRec, or suggest other recovery program
I accidentally deleted ALL files for my web server yesterday, and for some silly reason I have not made a backup in the last three months... Shame on me, I know.
The files were deleted with a bad rm command, and the system was immediately shut down…

Suppen
- 123
2
votes
1 answer
How to recover data lost during aborted local drag and drop?
I have dragged and dropped a large amount of data between two tabs of Thunar (XFCE 4.10) but accidentally clicked cancel during the process.
The data have been removed from the source folder and are of course incomplete on the destination…

kursus
- 857