Questions tagged [data-recovery]

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.

Filter by
Sorted by
Tagged with
1
vote
0answers
20 views

ddrescue to larger drive

I have a 2tb external hard drive with a ext3 filesystem on the entire drive, so no partitions. I suppose this means there is also no partition table? This drive is somewhat broken, as copying some ...
-3
votes
0answers
22 views

recovering data from not persistent live usb

OK, probably the most stupid question. Is there a way to recover data from a non persistent live usb? I wrote some data outside any folder and
0
votes
1answer
52 views

Which filesystems contain data loss prevention mechanism?

im unable to google this one out: which filesystems are available, which contain any form of a data loss prevention in case the medium (hdd) itself will become faulty? and potentially automatically ...
2
votes
0answers
25 views

How to retrieve a testdisk disk image file from an XFS partition?

The previous situation I had a problem many years ago with an HDD (with a Windows installation and two usual partitions - the boot one and the NTFS one containing the system and the data) with which ...
2
votes
1answer
44 views

Recover data from destroyed ZFS filesystem

I have a 1TB filesystem in a Proxmox environment, that was unluckily destroyed by Proxmox while trying to restore a container. Can the filesystem be recovered, or at least part of the data stored in ...
-1
votes
1answer
43 views

updates.sh - Command Not Found - Arch linux

I installed Archlabs 1 month later, today I noticed bin folder in ~ directory and Deleted it. After Reboot This errors Came out in polybar /bin/sh: updates.sh: command not foun And /bin/sh: ...
1
vote
1answer
36 views

How to preserve filename and folder structure when using foremost recovery program?

I am desperately needing to run the linux recovery software foremost and preserve filenames and folder structure. As you might know the program renames the recovered files with a numerical value and ...
0
votes
1answer
34 views

Restoring via inode that's no longer in the journal?

I had a folder deleted from a SMB share from a windows machine. Thanks to zero confirmation a whole folder was deleted. First ran photorec that pulled most of the files except 1, the very last file ...
0
votes
2answers
40 views

Switching from Windows to Ubuntu, what is to note? [closed]

Today I decided to switch my OS from windows 10 to Ubuntu 18.04 LTS. I started to recover all my documents, pictures, music and software projects. Then, I recognized that some of the files I'd like to ...
1
vote
0answers
25 views

Recover accidentally flushed logs file

I have an Apache Tomcat running on CentOS7 server which had a file catalina.out of around 157MB in size. I was trying to download that file on my local system so I ran the tar -czf command but I ...
2
votes
1answer
36 views

File data lost after rsync copy

I made a backup of a directory with some directories inside, using rsync -aPv source/ dest. It did not output error messages, neither returned a failure status, and progressed through to the end. It ...
0
votes
1answer
42 views

How to recover lost data after disk MBR to GPT conversion?

When I curiously selected to "create a new partition table" and the new type of it is GPT, GParted poped a warning message that "I may loss all...", but I still clicked yes, as I thought all the ...
1
vote
1answer
52 views

Accidentally overwrote .py file, can the original be retrieved?

I have a python file named initialization.py. When trying to copy-paste contents into a blank file, I used ctrl + x to copy/cut, closed the original file, and accidentally used ctrl + x again in the ...
0
votes
1answer
34 views

Is it possible to recover overwritten files from another operating System on the current operating system?

On my PC I had 2 operating sytems (ubuntu and windows) and for about 5 days I wanted to reinstall my Windows OS because of some bugs but instead of installing it on the partition where my old version ...
0
votes
1answer
34 views

Error keeps appearing “syntax error near unexpected tokefi”

I am creating a script to restore files back to their original location after being deleted and I keep having this error pop up. Why and how to fix the issue? #!/bin/bash if [[ ! $1 ]]; then echo -...
0
votes
1answer
59 views

Restore function in unix

I have a script to recover files back to their original location. I am missing the options for the script to as "Do you want to recover this file?" Yes or No. How will I implement it into this code ...
2
votes
1answer
25 views

Does 'sudo apt-get purge postgr*' remove database files?

I ran sudo -u postgres psql -c "show data_directory" and it shows /var/lib/postgresql/9.5/main. If I understand correctly, this is the directory that stores the database files. I ran sudo apt-get ...
1
vote
1answer
64 views

Deleted /lib/modules/<kernel version> by mistake. How to recover?

I accidentally deleted my /lib/modules/<kernel version directory>. Here's the full output of sudo rm -rfv /lib/modules/4.14.98+ : pastebin Is there a way to restore the modules keeping the ...
0
votes
0answers
63 views

/dev/mapper/wks01-root: No such file or directory while opening filesystem

I was trying to recover a deleted file following Unix/Linux undelete/recover deleted files and the following error came out: # debugfs -w /dev/mapper/wks01-root debugfs 1.43.4 (31-Jan-2017) /dev/...
1
vote
0answers
68 views

All ext4 files got deleted and the journal can't be found! Is there any way to recover it?

All of the files on my usb stick were deleted by accident (rm -r) but I'm having trouble recovering. When I try to run ext4magic it says "filesystem has no journal" and it mounts as ext2 only. I ...
0
votes
1answer
33 views

DDRESCUE - How to re-run first pass (don't do reverse yet)?

I ran ddrescue for a few days, and recovered about 60G. It had slowed to a crawl, and had an ipos of about 90M. I started again, adding -a100000, and it got another 35G in only 3 hours. It started the ...
0
votes
1answer
32 views

How to fix or retrieve data from an NTFS partition that was (re-)formatted with gnome-disk?

This morning, as usual, I mounted a 622 GB Windows (NTFS) partition on Linux for use. When I went on to unmount it through the graphical disks tool on GNOME, I accidentally formatted it, and now it’s ...
0
votes
2answers
73 views

Recover overwritten LUKS partition

Is there a way to recover an overwritten LUKS partition? Consider the following case: I had a (external) hard drive (not SSD) which is completely LUKS encrypted containing an ext4 file system with ...
1
vote
1answer
25 views

Recover file list from NTFS formatted (MBR) failing hard drive

My Seagate Backup Plus Ultra Slim 2TB USB hard disk is not detected on Windows(explorer, disk management, safety remove dialog all crashes when I plug in) but on fedora, it takes 2 minutes to ...
0
votes
1answer
24 views

Geany: disk full, file truncated

I was working on a text file in Geany under Debian. When I went for saving it, it said the disk was full. So I freed some space and retried so save. This time it said the file on disk was newer. I ...
0
votes
1answer
28 views

Recover/reupload messages deleted by fetchmail

I used fetchmail to access my Hotmail/Outlook mailbox. It downloaded every message inside Inbox, but now that folder is empty at the server. Now I see that fetchmail deletes messages by default: -k ...
1
vote
0answers
69 views

mount img from data recovery

win10 laptop with both ssd & hdd unmountable. I booted with live-debian and copied hdd with safecopy in an .img-file on external usb hdd. This worked, 100% copied, no bad blocks, no unrecoverable ...
-2
votes
1answer
109 views

Replace a binary file within another binary file

Is it possible replace in place a binary file located inside another binary file? For example, compressed firmware.bin file contains: DECIMAL HEXADECIMAL DESCRIPTION ------------------------...
3
votes
1answer
274 views

Unrecoverable Btrfs filesystem after a power failure?

I've been writing to a 3TB USB external hard drive (WD MyBook) with a Btrfs filesystem, when accidentally I've switched the power off to the drive's power brick. What is strange - the write ...
0
votes
0answers
90 views

Recover files from previous filesystem

Accidentally, I installed a new linux distro over a 100G partition of a 250G SSD, with my previous linux. I used it (system upgrades, web browsing) for around 30 minutes before I realised what I did. ...
7
votes
3answers
1k views

Why does photorec keep finding files after I have filled the disk free space as root?

Before I lend my laptop for a while to my young and linux-savy nephew I want to make sure he's not able to carve into my personal data in the blank space of the drive. I have saturated the blank space ...
-1
votes
2answers
42 views

Data recovery after dd on a sda partition

I had installed opensuse in UEFI mode in my computer but having a legacy Windows so it did not appear in boot menu. Following a weird tutorial on the internet I dd the Windows partition of my sda. I ...
-3
votes
1answer
48 views

Data loss in disk in linux

How to get back lost data in /dev/sde? I unmounted a mount point on which /dev/sde was mounted and ran mkfs.ext4 as it was not getting remounted and that lead to data loss. Now I can't find /dev/sde ...
2
votes
1answer
149 views

Can ext4 filesystem withstand a bad sector (unreadable)?

If a hdd bad sector happens in the metadata for /home/user/me on an ext4 fs would that mean data loss for all subdirectories? Background: I know that many users are satisfied with the ext4 ...
2
votes
0answers
67 views

Recover accidentally deleted custom files

I accidentally deleted important custom (not known-or-commercial) files from my scientific researches on image processing. I created the files by collecting raw digital signals from an image sensor. ...
2
votes
0answers
227 views

How to recover data from synology Raid 5?

My old synology server (cs407s), died. So I'm trying to retrieve the data from the disk. I have tree disks from RAID 5. I tried to mount the disk on computer running grml. # lsblk sda 8:0 0 ...
0
votes
1answer
38 views

gddrescue slow transfer, but no bad sectors [closed]

I recently noticed my 2ndary internal HDD was having issues when I wanted to back up information to my external HDD. 1.4 TB out of the 2TB was being used. My transfers rates were plummeting to 0 and ...
1
vote
1answer
309 views

SD Card Recovery without data loss or corruption

I have a 128 GB Micro SD Card that I formatted as ext4 and used in a Chromebook for an Ubuntu Chroot Environment. I used it for quite some time that way. At some point, I either deleted everything off ...
4
votes
1answer
4k views

How to recover a broken mp4 file: moov atom not found

I made a recording with ffmpeg -f alsa -ac 2 -i plughw:0,0 /tmp/audio.mp4 I then moved /tmp/audio.mp4 to another directory (/root/audio.mp4) without stopping ffmpeg leading to a broken .mp4 file: ...
0
votes
0answers
57 views

Does fsck.f2fs not support loopback image files?

I had a micro SD card that I had "adopted" so the Android phone I had could use the storage as apart of the total storage for applications and data. This worked for sometime till the micro SD failed. ...
0
votes
1answer
122 views

Recovering a Failed Software Raid5

I'm looking to recover data from 4 old HDDs set up in a software raid5 and it looks like a disk has failed. What I want to do is recover the raid so I can copy its data somewhere else. I have done ...
0
votes
0answers
274 views

Input/Output error after moving files on external hard-drive

I have an external hard-drive for saving all my photos/memories. I put all the pictures to the folder INTENSO/Handy-Backup/IPhone/DCIM/. Because I resetted my iPhone, I wanted to move all the old ...
0
votes
1answer
25 views

Made external HDD bootable installation device by accident. How do I recover files? [duplicate]

So I messed up big time and ran: sudo dd if=~/Downloads/linuxmint-19-cinnamon-64bit-beta.iso of=/dev/sdb bs=1M while having my HDD still in and it made the HDD the bootable device instead of another ...
1
vote
1answer
56 views

Can recover data from disk but not from image of same disk?

So I'm creating this training scenario whereby participants have to take an image of a broken disk, loop mount and recover the data. It's supposed to be fairly basic, but I've come accross this weird ...
13
votes
1answer
1k views

Best practice to continue mv

I used the terminal to copy files from one drive to another. sudo mv -vi /location/to/drive1/ /location/to/drive2/ However that suddenly stopped, while some hours into it, and without an error, ...
0
votes
0answers
44 views

Do deleted HFS+ partitions appear as 'Linux filesys. data' when running TestDisk on Linux?

I'm trying to restore HFS+ partitions that someone accidentally deleted when connecting their Mac formatted external HDD to a Windows PC. Here's the TestDisk (7.1-WIP) [Analyse] output: TestDisk 7.1-...
2
votes
0answers
95 views

recover from snapshot

I have snapshotted an LV named roa to a snapshot volume named ima, then accidentally removed A file, I need to recover A file from the snapshot volume like what Btrfs snapshot did, but guides on LVM ...
5
votes
4answers
548 views

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 ...
1
vote
2answers
4k views

Ubuntu recovery says “fsck from util-linux” and exits

I booted Ubuntu in recovery mode to try and fix a disk error. However, when I run: fsck I just get: fsck from util-linux 2.31.1 And nothing else happens. Any fsck command is simply printing '...
0
votes
1answer
35 views

Unreadable block in multiblock reading on dd / ddrescue: How does it handle it?

Let's say that I set the block size of dd or ddrescue to 256K. A sector of flash drives usually has 512 bytes, a sector on optical data discs has 2048 bytes. Let's assume that in the next 256 KB, ...