Data recovery is the process of salvaging data from damaged, failed, corrupted, or inaccessible secondary storage media when it cannot be accessed normally. Use this tag when you want refer to one of the problems stated up.

learn more… | top users | synonyms

40
votes
9answers
40k views

How to recover deleted files?

Are there any tools, methods, incantations to recover recently deleted files on Ubuntu? If it makes any difference, I want to recover a Keepass 2.x database file. But would be better to have a ...
19
votes
1answer
15k views

What's the difference between ddrescue, gddrescue, and dd_rescue?

The dd command is commonly used to make image backups of a drive or partition. However, it performs poorly if the source drive is unreliable or failing. I read that ddrescue/dd_rescue is a good tool ...
12
votes
2answers
807 views

Revert moving root directory recursivelly

I have an Ubuntu Desktop used as a Server. This morning I accidentally moved all my root to ../ root@server:/tmp/UPS/up/upsilon# mv /* ../ mv: impossibile spostare "/dev" in "../dev": Dispositivo o ...
10
votes
2answers
16k views

Accidentally deleted a folder

I've been using Ubuntu 12.04 and accidentally deleted a folder using Shift+Del. Does anyone have any idea how to recover the folder?
9
votes
4answers
6k views

Formatted and lost 6 years worth of photo memories.. any way to get this back?

I usually back up before formatting and doing a re-installation of Ubuntu, it was in the process and then obviously stopped prematurely but I was thinking all my data was transferred. After ...
8
votes
2answers
13k views

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions (C:) Vista (D:) Entertainment (E:) Work (F:) Sources and I wanted to start using Ubuntu instead. So I tried ...
7
votes
2answers
245 views

Is there a way to recover a file that I have deleted but is still open somewhere?

This question is related to How to recover deleted files? but it is slightly different in nature. Suppose I have a file named ~/something open in a text editor. Further suppose that I open a terminal ...
7
votes
2answers
53k views

How to recover a deleted NTFS partition with data

I am on Ubuntu 12.04 64-bits I accidentally deleted a NTFS 255 GB partition using Gparted, and yes it contains LOTS of important data. Upon realizing the deletion I haven't yet created any ...
6
votes
3answers
2k views

Is it possible to recover a secret key from a GPG public key?

I have lost the GPG keys I use for Launchpad and email encryption, along with my entire ~/.gnupg folder. Can I recover them using the public key?
6
votes
4answers
4k views

How to recover from 'sudo rm -rf' command?

By mistake, I ended up executing rm -rf / command from sudo on my laptop which erased many files before it stopped. Now when I restarted my system , it drops to this prompt: GRUB rescue>_ I am ...
6
votes
2answers
9k views

Deleted Partition Recovery

I was installing ubuntu 12.04 on my system. There were 4 partitions on my system and I selected one of the four partition for the installation and chose the option of resizing the partition. Initially ...
6
votes
2answers
11k views

Retrieve files deleted by command rm in terminal

Here's a summary: I was programming using java and accidentally, instead of using the rm *.class command in the command-line, I used rm *.java. It took me a lot of time to finish that code. I hope ...
6
votes
1answer
94 views

Wiped data, and duplicated folders into files

Something weird happened today, and I dont know how. Within a folder, all folders have a file by the same name, with a colon appended to it. And all the files from the most inner-most directory in my ...
5
votes
2answers
10k views

'Unable to mount Filesystem' Error

Trying to extract data from a 'bricked' Western Digital MyBook Live 2tb drive. I came across a forum that advised to use Ubuntu (booted from a CD) on my Macbook. Managed to download and create a ...
4
votes
3answers
2k views

need to recover data from a data hard disk that I used testdisk on in my attempt to repair mbr from a rootkit virus

Before I begin to say what my situation is here, please know i would be FOREVER GRATEFUL for anyone who can help me out with this mess. I have photos on here from years and years of painstaking work. ...
4
votes
4answers
2k views

How to recover data from a failing hard drive?

An external 3½" HDD seems to be in danger of failing — it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious ...
4
votes
2answers
769 views

Does selecting “Remove Windows” option during install remove all my Windows partitions?

I had Windows 7 installed on my laptop, I installed Ubuntu and chosen the option to delete everything. But when I clicked that, it deleted my windows 7 partitions. C: Windows E: Documents F: ...
4
votes
2answers
3k views

ddrescue: safe to stop while “Splitting failed blocks”?

Trying to clone a failing disk with ddrescue sudo ddrescue -r 3 /path/to/home /destination/ logfile It's been running for about 10 days! Now it's Splitting failed blocks and hasn't read anything ...
3
votes
2answers
8k views

Recover files from NTFS drive with bad sectors

A few nights ago I have created a backup of my data on an external 500 GB NTFS USB hard drive. I have then formatted my computer, reinstalled Ubuntu and started transferring back the data from the ...
3
votes
2answers
1k views

Is it possible to restore my lost photos from memory card?

My memory card was found yesterday, but I found the photos stored in it have gone, is it possible to restore them back? If so, how? Please recommend some affordable program and works for my memory ...
3
votes
1answer
930 views

How to recover from wiping by dd a partition table on external disk?

Yesterday I used dd to write an OS into my Raspberry Pi flash card. Even though all my commands ( I checked history ) were for /dev/sdd which was the flash , when I checked my external drive(500GB) ...
3
votes
1answer
104 views

Is it possible to recuperate a file overwritten by Ubuntu One?

I had an .odt file which was synced via Ubuntu One. I made changes on the file on my Ubuntu Computer. To check whether the file was synced I opened it on my Windows computer. It was not synced, but ...
3
votes
1answer
51 views

Move GZ archives with specific content

After a restoration of my HDD with PhotoRec I have a folder with 36,500 GZ archives. Of those, around 200 are very important for me. Each of these archives contains exactly one TAR archive. These TAR ...
3
votes
1answer
1k views

How to recover a file after deleting and merging multiple partitions?

I've used all my web search skills to make sure this question wasn't already asked. So here is my unique situation. My 320GB hard drive had 5 partitions - let's call them A, B, C, D and E ­٠A: ...
3
votes
1answer
308 views

Recovering data from hard disk after an accidental Ubuntu reinstallation

My computer got wiped accidentally due to a fresh Ubuntu installation. Since the drive contains very important data and codes, it would be really great if the same could be recovered. It is a 2TB ...
3
votes
1answer
680 views

Mount an image created from ddrescue

I know this question has been asked before, but following those answers does not seem to work for me. I have created an image of a USB stick this is on my laptop harddrive. How do I mount this ...
3
votes
1answer
5k views

Repair ext4 filesystem on USB drive [closed]

Yet another filesystem question. I wanted to use a USB drive that I hadn't mounted for a month or so and was surprised by the fact Ubuntu was unable to mount it. I looked it up in the disk utility and ...
3
votes
0answers
661 views

How can I recover my data after choosing “Erase disk and install Ubuntu”?

I installed Ubuntu 12.04 on my laptop and chose the option "Erase disk and install Ubuntu" from liveUSB without any backup. When I realized that this would format my whole HDD, I immediately unplugged ...
3
votes
2answers
1k views

rescue data from usb disk - don't want to format

I have a problem with my usb flash disk. It's a Kingston Datatraveler. I use it intensely, and since yesterday it has become corrupted. I can't remember that I took it out before dismounting (or ...
2
votes
3answers
4k views

Unallocated space with important data

I used GParted to convert a primary partition to extended one after copying the data to another partition. After having the extended partition I moved the data back. To my utter shock after a restart ...
2
votes
1answer
3k views

How to recover data from old encrypted hard drive?

I am trying to work out how to recover the data from the hard drive that was in my old laptop. It was running the latest ubuntu and I am now running Ubuntu satanic 11.04 as i do not like 11.10. Uhe ...
2
votes
1answer
92 views

Does a partition need to be mounted before data transfer to USB?

I'm trying to use Ubuntu 12.04 to transfer data from an unbootable hard-drive in Windows XP to a usb. Does the partition need to be mounted beforehand? Also, I read I could use ddrescue to perform ...
2
votes
2answers
124 views

Recover files from External HDD to DVD+RW using Photorec

So I have a 1 TB external hard drive which I accidentally formatted back when I was using Windows 8. I moved to Ubuntu afterwards and haven't touched the external HDD for a few days. I now want to ...
2
votes
1answer
2k views

How to recover lost partition and files after installation of Ubuntu on Windows partition?

I have got a laptop from one my friend which has installed Ubuntu by choosing a wrong option and has re-partitioned the entire hard drive and has lost all his private files. I booted the laptop by a ...
2
votes
2answers
142 views

data recovery with testdisk

I'm trying to recover my data after a bad installation. On my laptop I had 2 partitions: Windows and Media. Now I'm trying to recover the content of the Media partition and this is what the amazing ...
2
votes
2answers
464 views

can i recover my windows xp files after ubuntu install?

i installed ubuntu 10.04 on windows xp sp3, it used all the space in the of 320 gb in the hard drive. I had 200 gb data on hard disk on this hard disk under windows xp. is it all lost? can i get it ...
2
votes
3answers
243 views

lost data on partition

I'm totally new on Ubuntu. Just decided to kick out the horrible windows 8: so I downloaded the last version of Ubuntu available on the web site , tried out the live cd and found it quite interesting. ...
2
votes
1answer
162 views

How to rescue Ubuntu from Windows

I deleted the Ubuntu [ 12.10 ] Partition by accident from Windows 8. I tried everything I saw on internet, but still I couldn't make it. Is there a way to rescue Ubuntu from Windows 8 ? Edit after ...
2
votes
4answers
2k views

Can I recover my data after deleting the partition? [duplicate]

I got a Ubuntu 12.04 key. It corrupted after a sudden power cut and I was not able to open my desktop session. I then tried using an Ubuntu live CD but it was not able to mount my drive. I tried ...
2
votes
1answer
637 views

Accidentally partitioned over entire hard drive - cannot boot

Background: i began with a single partition ~72MB, with Zorin OS 6 installed. Yesterday I was following these instructions to move my /home folder to a separate partition. After partitioning (Original ...
2
votes
1answer
139 views

How to use gddrescue to make an ISO from hard drive?

I am trying to run ddrescue to make an ISO of an old crashed drive. I just don't know how to find the name of the drive to specify when telling ddrescue to run. If someone could please just tell me ...
2
votes
1answer
167 views

Application Crash cleared the content of the Folder

Recently while working on the LinuxDC++ over the network the application crashed while downloading files. Now my Downloads folder which had at least 60-80GB of data is completely cleaned but the ...
2
votes
1answer
1k views

Can I recover a deleted partition table faster if I remember some of the layout?

I accidentally deleted the partition table of a 1.5TB drive with about 10 partitions on it; I'm running testdisk now but it's going to take a while to scan everything. I do have some useful ...
2
votes
0answers
337 views

Moving a file or directory to /dev/null [duplicate]

I am going to move a directory and a file to /dev/null. What will happen if i move a file to /dev/null and what will happen if i move a directory to /dev/null?
2
votes
0answers
95 views

testdisk says partition table structure is bad

I have a dual boot system, win7 and Ubuntu 12.04, A disk crash trashed my partition table. Here is what fdisk says about the disk: Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 ...
2
votes
2answers
35 views

How to determine where missing Linux partition started

I have an Acer laptop with a 500 GB drive. It came with Windows 7 installed, and I installed Ubuntu 12.04 in a dual boot configuration. As far as I remember I installed everything accepting defaults ...
2
votes
2answers
1k views

Mount raid volume command line

I have a 3TB raid, which was made originally with OPEN MEDIA VAULT, a media server. I have recently uninstalled OPEN MEDIA VAULT from the server and installed ubuntu 13.10. The only problem I'm ...
2
votes
1answer
117 views

Cannot find/access files from previous install of Ubuntu (10.04)

I've searched for this answer fairly extensively and fruitlessly thus far, mainly I find answers that regard finding Windows files after installing Ubuntu, and a lot of answers regarding Wubi (which I ...
2
votes
0answers
658 views

How can I recover files from an XFS file system without spending money on software?

I have an old Iomega NAS, that has stopped working. The drive is still good, I just need to recover the files. Both of my Ubuntu machines recognize the drives in the Disks utility, but I can't do ...
2
votes
1answer
970 views

File recovery after reformattig ext3/4 partition — extract old journal/superblock?

I seem to have reformatted my /home partition (previously ext4) as ext3 during an Ubuntu installation. It took me a couple of mounts to figure that out. Which, of course, is a bad thing. I've tried ...