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 (1)

82
votes
7answers
341k views

Adding SSH Keys to authorized_keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, ...
76
votes
10answers
152k 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 method/...
38
votes
3answers
83k 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 ...
36
votes
1answer
41k 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 ...
35
votes
5answers
66k views

Can files/directories deleted with rm be restored?

Is it possible to restore files/directories which are deleted from terminal using rm and rm -r?. If a file is deleted from graphical interface, it could be restored from trash, but how do you restore ...
18
votes
1answer
565 views

How can I make my laptop “phone home” if it ever gets stolen?

If my laptop ever gets stolen, I want it to make an attempt to "phone home" so that I can track it down. What can I set up to accomplish this?
17
votes
2answers
52k views

Tool for recovering deleted data from a flash drive

What is the best tool for recovering deleted data from a flash drive (pen drive)?
15
votes
2answers
2k views

I seem to have deleted all my files while removing the wine from the home directory

After trying to remove Wine from Ubuntu, all my files were suddenly gone. That is, I do not see any of my documents etc., but my hard drive says only 3 GB is still available (which is common for my ...
15
votes
2answers
48k views

Accidentally deleted a folder [duplicate]

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?
14
votes
4answers
6k views

Recover deleted data with rm -rf on Wubi?

I accidentally deleted /home with sudo rm -rf. I tried to restore it with testdisk, but because Ubuntu is from Wubi, it cannot list the filesystem and I don't know another way to do this. How could ...
13
votes
5answers
4k views

Is there a way to recover files from a storage device partially overwritten with dd?

I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY ...
12
votes
2answers
2k 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 ...
12
votes
4answers
27k views

Is there any recovery software available for ext4?

Well, I have accidentally deleted my Ubuntu drive. I just want to recover all the contents of /home. Is there a way to do it? I referred to foremost, where I need to specify the extensions of files. ...
12
votes
4answers
21k views

Mounting ddrescue image after recovery (in over my head)

I'm having problems mounting the recovery image. I've tried to mount the image multiple ways. quark@DS9 ~ $ sudo mount -t ext4 /media/jump1/1recover/sdb1.img /mnt mount: wrong fs type, bad option, ...
11
votes
4answers
15k 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 ...
11
votes
3answers
14k views

Recovering Files from a Corrupt CD/DVD

I have certain old CD/DVD's which are not in good condition. I want to recover from them anything that can be recovered. in windows you had software like Isobuster and Cd Recovery which will let me do ...
11
votes
3answers
20k views

How do you recover from a failed upgrade ('apt-get -f install' and 'dpkg --configure -a' fail)?

During an upgrade from lucid (10.04) to precise (12.04), the X session froze, and I have been trying to recover the upgrade to get a stable system. I have performed the following steps: Used ssh to ...
10
votes
2answers
87k views

How can I repair my installation?

Does ubuntu 11.10 have a repair setup like windows that repairs the operating system files? Or do we have to do a whole new installation? If not, is there a backup solution so I can re-install ...
10
votes
5answers
27k views

How to change the graphics card driver via terminal?

I recently tried changing the driver for my Asus Radeon HD 7870 to the proprietary one (a friend told me it was much faster), however that seems to have killed my install of Ubuntu. Now whenever I ...
10
votes
5answers
8k views

Anyway to make a liveCD from my current installation?

Remastersys is no longer maintained and UCK as well as Live-Magic aren't exactly what I'm looking for as they remaster a livecd. What I'm aiming for is something like PCLOS's makelivecd so I can have ...
9
votes
2answers
17k views

Recovering user files with a Live CD

For some reason my bootup isn't working. I get an error akin to "Operating System Not Found". So I tried bootrepair, and that didn't work. So then I decided I would just save my personal files, wipe ...
9
votes
2answers
84k 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 file-...
9
votes
3answers
9k views

How can I make an Ubuntu recovery image on external media?

I am about to expand my Ubuntu partition, so I think I should make a backup of current one in case something goes wrong. Is there some software to make a bootable USB and recovery image?
9
votes
1answer
13k views

Enable Wi-Fi in Recovery Terminal

How do I enable WiFi from the Ubuntu 11.10 netroot recovery terminal? After just 12 hours with Ubuntu, I managed to destroy my ATI fglrx drivers and now I can't repair them without Internet access.
8
votes
3answers
9k 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?
8
votes
3answers
836 views

Is it possible to recover data stored on hard drive with windows with ubuntu live?

Like in the topic of this post - my boss turned off his PC (quite an old one, based on a Pentium 4, 32 bit) while Windows XP was performing a system update. And of course Windows lost some important ...
8
votes
2answers
8k views

Ubuntu deleted files from guest account desktop

I have Ubuntu 12.10 and was using guest account. I downloaded some files on desktop and shutdown my m/c after use. Now today when I logged in to guest account to copy those files but surprisingly ...
8
votes
4answers
4k 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. ...
8
votes
3answers
53k views

Best tool to recover removed files [duplicate]

Possible Duplicate: How to recover deleted files? Using Ubuntu 10.10, I have a startup script that automatically removes my 'working directory'. This is a simple folder on my Desktop where I ...
8
votes
0answers
20k views

Retrieve files deleted by command rm in terminal [duplicate]

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 ...
7
votes
5answers
17k views

Is it possible to pull data off a linux hard drive using windows 8.1?

My Ubuntu laptop died recently and I've pulled the hard drive out of it. I'm trying to read the data on it from a windows 8.1 laptop but I don't think its recognizing the file system. I've tried ...
7
votes
2answers
364 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
1answer
8k views

Is there a usable GUI version of Photorec or Testdisk?

I wanted to recover some files from my sd card with Photorec, everything went fine, I use Ubuntu for a few years now, so I've seen the terminal quite a few times. But, I wondered if a GUI version of ...
7
votes
2answers
6k views

How do I get my USB keyboard to not freeze up in the recovery menu? [closed]

I am using Ubuntu 11.10, and whenever I enter the recovery menu, my keyboard freezes and I can't make any selections. I have tried using GRUB_PRELOAD_MODULES="usb usb_keyboard" but this doesn't help ...
6
votes
1answer
772 views

How to recover accidentally removed /bin/ls binary

I have mistakenly deleted the ls executable from the /bin folder. Can I recover it or install it through the terminal?
6
votes
1answer
9k views

Recover accidentally removed files on NTFS partition

I accidentally removed some files on a NTFS partition How can I recover them staying inside Linux without0 rebooting ?
6
votes
3answers
13k views

Tool for File Recover | Deleted Files Recovery

Advise me please some recovery tools for File Recover | Deleted Files Recovery | Damaged Files
6
votes
4answers
8k 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
16k 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
1answer
10k views

How to create a complete recovery Image for my new netbook

I just got a new acer netbook, it comes with windows 7. I wanted to know how I could create a recovery image using tools like dd. I want to know what command creates the exact backup of the hard disk ...
6
votes
4answers
35k views

Back up the whole ubuntu system or system image creation [duplicate]

Possible Duplicate: How to make a disk image and restore from it later? In windows back is very easy with Norton ghost. Run it and forget it, What is the same type of software for backing up ...
6
votes
2answers
2k views

NTFS partition becomes read-only after system upgrade?

I was using ubuntu 11.04 on my Laptop. While installing it from a DVD, I have created a 10 GB NTFS partition at the beginning of the hard disk, as primary. All other partitions ( swap, a ext3, a ext4 ...
6
votes
1answer
114 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 ...
6
votes
3answers
7k 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 ...
6
votes
3answers
12k 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 ...
5
votes
2answers
3k views

Can I recover a deleted file? [duplicate]

I have mistakenly deleted a file via while connected ssh. How I can recover that file or, if ubuntu has something like trash bin or so ?
5
votes
4answers
15k views

Possibility of recovering files from a dd zero-filled hard disk

I have "zero filled" (complete wiped) an external hard disk using dd, and from what I have heard: people said you should at least "zero fill" 3 times to be sure that the data are really wiped and no ...
5
votes
4answers
2k views

Recover 1TB disk erased with startup disk creator

Hello. I was trying to make a bootable flash drive from the startup disk creator, and when I went to erase the flash drive I accidentally erased the wrong drive, a 1TB removable drive. The operation ...
5
votes
2answers
732 views

Accidentally moved directories under root

I've accidentally made this sudo mv /* /applications/minced/ instead of sudo mv ./* /applications/minced/ This is all what's left in the root directory user@server:/$ / applications/ dev/ ...
5
votes
1answer
2k views

I lost Unity desktop when I uninstalled nautilus. How to get it back?

I did something silly I think. I wanted to use dolphin as default file manager. So I used package manager (synaptic) to remove nautilus file manager (because Ubuntu makes it so hard to change the ...