People who code: we want your input. Take the Survey

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
0
votes
2answers
19 views

How to recover Data after “mdadm zero-superblocks”

I wanted to swap from CentOS to Openmediavault. I had a RAID1 with mdadm in place and wanted to split it again into two separate disks. The Guide (Similar to ArchWiki) told me to do the following: ...
0
votes
0answers
34 views

Removed id_rsa file accidentally

I accidentally removed the id_rsa file from my .ssh directory. Now I cannot establish a connection to my remote server. However, I still have the known_hosts file and other files on .ssh. My first ...
1
vote
1answer
18 views

Rebuilding directory tree (and/or inodes)

Problem My Armbian based Orange Pi webserver crashed (probably because of a power loss). I thought it would be fine since ext4 is more resilient and it usually has been in the past, but for some ...
0
votes
0answers
13 views

How to rebuild original file structure from the “Lost” folders that show in UFS Explorer Professional Recovery

"Documents" folder had been deleted on CentOS which used LUKS & XFS. UFS Explorer Professional Recovery has been able to recover what it seems all documents that were inside this folder ...
2
votes
2answers
46 views

Recover overwritten .zshrc with still-running zsh

I accidentally overwrote my .zshrc file after a misexecuted command, which contains several hundred lines of configs. However, I still have 5 terminals that had zsh open before this incident, and as a ...
1
vote
0answers
31 views

Tar archive overwrote original file

I was compressing a rosbag file using tar when I mistakenly used the same original file name for the the archive name and had it overwritten by the output archive , the compressed archive size is very ...
3
votes
1answer
50 views

Is mounting with “discard” needed for TRIM?

I was wondering whether mounting an SSD using the discard option (documented in man mount) is actually required for ATA TRIM to be sent to the SSD's controller. The evidence is a bit circumstantial: ...
1
vote
1answer
45 views

Can't recover Kingston SSD - no partitions, no data

I had a disk failure before getting around to backing up a lot of notes and configs, updated pw file etc. My main work was saved/on a different disk, thankfully, so this hasn't been a "pay ...
0
votes
0answers
24 views

Rescue Data from OMV Raid 1

I have a big Problem: All my important data were stored on a selfmade OpenMediaVault-NAS. I have 2x 4TB WD Reds and one of them failed. It was a (software) Raid configured in OMV. When OMV rebooted, ...
0
votes
0answers
8 views

How to make sure if I rescued all the data from a corrupted ext4 partition?

Here's the history log of the partition: https://cloudvyzor.com/logpad/?query&database=sandbox-d306970d9822474714fbfa85aab4af94 sorted with unique entries: https://cloudvyzor.com/logpad/?query&...
-1
votes
1answer
26 views

How do I recover my Windows partitions after accidentally replacing all of them during a Linux Mint installation?

I recently bought a new SSD for a Linux Mint installation in order to avoid potentially messing up the partitioning of my existing drives. During the installation I seem to have mixed up the model ...
-2
votes
1answer
42 views

Using Photorec after accidentally deleting Users folder in Mac using rm -rf ~/

I copied this command online to the terminal without reading what it actually does (I know this is very dumb for a beginner) and suddenly, it started to delete every important file in the hard drive. ...
0
votes
0answers
40 views

salvage data from a failing drive

I have a 6TB WD My Cloud sitting on the NW filled with data, I just got a 12TB WD My Book which I plugged into Rpi4, and began moving the data into the 12TB drive, planning to use the 6TB for backup ...
7
votes
3answers
1k views

Undoing wipefs --all --force /dev/sda? /dev/sda

OS: Debian Bullseye, uname -a: Linux backup-server 5.10.0-5-amd64 #1 SMP Debian 5.10.24-1 (2021-03-19) x86_64 GNU/Linux I am looking for a way of undoing this wipefs command: wipefs --all --force /...
0
votes
0answers
26 views

Deleted /usr directory on Linux Mint 19.3 - cannot boot

So initially - after my /root directory went full - I decided to look into it and try to figure out what might've gone wrong. Through the process of that, I accidentally deleted my /usr directory, ...
0
votes
0answers
8 views

partclone without --rescue doesn't stop immediately after read error

I'm making a backup of a partition on a failing HDD with partclone. Even though I didn't specify --rescue on the command line the program didn't stop. So what would be the difference between images ...
0
votes
0answers
21 views

How to make a file image of a pertition and mount it in linux?

My problem is that I have cloned a 500GB hard drive into a 1 TB hard drive and now I need an image copy of the first partition in order to work with it. Now to clone the entire 1TB hard drive into an ...
1
vote
3answers
83 views

Please help me rescueing a failing hard drive

My both hard drives where all my data is stored are failing. My system insconstently refuses to load the disks and mount the partitions. I moved one hard drive to other computer where it is recognized ...
21
votes
2answers
6k views

Accidentally ran sudo rm /* on my Arch Linux installation

I accidentally executed sudo rm /* instead of sudo rm ./* inside a directory whose contents I wanted to delete, and I have basically messed up my system. None of the basic commands like ls, grep etc. ...
1
vote
1answer
40 views

Recover Data from Failing External Hard Drive

I am attempting to recover the data from a failing Seagate external hard drive. I was going to attempt using ddrescue or safecopy. I am currently using Kali. The drive will not mount and the output ...
0
votes
0answers
50 views

How to diagnose possibly dead nVME drive?

My m.2 nVME drive died after some weird issues when running my Ubuntu machine (after running fine for three years). I rarely use the machine due to my time spent on my work laptop, so I was surprised ...
1
vote
0answers
82 views

How can I restore a deleted directory entry on an ext4 file system?

I was in the process of doing a fsck on an ext4 filesystem on my NAS, where it hit a hard error and quit (unfortunately I've since lost the error message). When I remounted the volume right after to ...
0
votes
1answer
40 views

I Can't Log In to my Account after Password reset

I forgot the password to my admin account in ubuntu, I googled how to reset ubuntu admin password, then did the following steps from the tutorial that I found online Enter Recovery Drop to root shell ...
1
vote
1answer
66 views

How to recover the data from a drive whose partition table is changed?

I recently wanted change my partition table so, I backed up all my data and changed it but after that was done I found that some of my project files were not pushed to GitHub and then I tried to ...
0
votes
0answers
15 views

Misplaced partition recovered by TestDisk

Originally I have a non-empty 4TB HDD with | 1.5TB | 1.5TB | 1TB | partitions, and some things happened because of Windows Recovery Tools that now it is partitioned as | 32MB | 2TB |raw/unpartitioned|....
0
votes
0answers
144 views

SegFault when using ext4magic - trying to recover an older version of a file replaced by a corrupt backup

Problem: ext4magic and debugfs fail to undelete some files from a data hard drive image. I hit segmentation faults and lack of understanding of how to proceed. extundelete and tsk_recover successfully ...
0
votes
0answers
67 views

Repairing a tar.xz file

I am trying to extract a xz archive, however, around half way through decompression I get the error Compressed data is corrupt. I have tried using xzcat and using the --ignore-check flag in case that ...
0
votes
0answers
26 views

How to create a file based on the blocks

Recently I'm using nvme-cli to write the data to the block devices, the nvme write and read will allow the user to write to specific blocks. Unfortunately, they don't offer a write or read interface ...
1
vote
1answer
40 views

Recovering RAW, exFAT, NTFS deleted partition from SSD with Testdisk 7.2

today I did a stupid thing like using Windows “diskpart” to try to delete a volume inside my portable SSD NVME 256GB, but instead I type “clean” and I deleted all volumes in that disk. Inside the ...
0
votes
1answer
217 views

Using ddrescue to recover files and detect files that were corrupted via fill mode

My goal is to rescue partition to a file (no need for full disk copy, or creating a bootable drive), then mount that image, and get the folders out to my filesystem onto the new 3x times bigger drive. ...
0
votes
1answer
33 views

How to set modified file's metadata to equal the created_on value of recovered images?

I recovered images from an android LOST.DIR folder. The data recovered successfully, now I'd like to set the modified timestamp of the file to be equal to the created on value of the binary data. I'm ...
0
votes
0answers
9 views

Recover data after accidental “zpool create” on the wrong drive

I created a Zpool on top of an external drive that had an XFS partition full of data. I think the partition table got written over as it now shows a ZFS partition on the drive. Is there a way to ...
0
votes
1answer
74 views

Plugged USB stick into macbook and all data was wiped

I plugged a 32GB usb stick into a 2019 macbook pro and all data was automatically and immediately removed. OSX shows no data on the stick. There used to be data on the stick. I went back to my linux ...
0
votes
0answers
146 views

Recover unmountable btrfs (not just recover data)

as far as I recall the system was doing sone heavy io on a btrfs partition, and I pulled the power. Next time the partition is unmountable at all, also in readonly mode. I recovered important data by ...
0
votes
1answer
41 views

Recovering deleted files on an encrypted drive

My drive is encrypted. I am running Fedora. I also have a Win 10 boot (not encrypted), if that's relevant) I accidentally ran rm -Rf * in the wrong folder - one in which I had a dozen or so small ...
0
votes
1answer
30 views

What are the crash guarantees of rename by an extra hardlink?

Origin From https://btrfs.wiki.kernel.org/index.php/FAQ#What_are_the_crash_guarantees_of_overwrite-by-rename.3F Overwriting an existing file using a rename is atomic. That means that either the old ...
2
votes
0answers
241 views

BTRFS critical (device sda): corrupt leaf after mounting on Windows with WSL2

My question is as to the correct steps to attempt a fix of my BTRFS system, the possible cause and the place to report the problem. The Story I was playing around with the new Windows Insider Build ...
1
vote
1answer
48 views

Recover partition table from running system and encrypted disk

I've made a small mistake, I've removed my boot partition by mistake. Using testdisk I was able to recover the boot partition without problem but I either misused it or did not understand and only ...
0
votes
0answers
18 views

Determine which files are located in a physical area of an ext4 partition [duplicate]

I managed to create an image of a 1000 GB ext4 partition on a dying HDD using ddrescue. The image is almost complete: only an area of about ~34 MB could not be read surprisingly close to the "...
0
votes
0answers
40 views

Can I recover wallet seed from overridden tails USB?

I've had tails installed on a USB drive for a couple of years. This summer an update made it unable to boot. I installed a fresh Tails OS after formatting the drive, and then realised that I never ...
0
votes
0answers
53 views

Mounting a single hard drive from mirror raid

Following issue: My fathers data server has some hardware issues (most likely the motherboard, it wont start anymore). So I tried to get to the files by removing one of the hdds from the server and ...
12
votes
1answer
316 views

Using ddrescue to shred only rescued portions of disk

Magnetic drive has failed. I used ddrescue to recover ~85% of it, with a map file, but the rest is borked and continuing to scrub it would take years. I can return it for a replacement. I'd like to ...
1
vote
1answer
151 views

Can I recover a 500GB Seagate Momentus with bad sectors?

I've received a Seagate 2.5" 5400rpm 500gb HDD that was throwing up a Boot configuration error post some windows updates. I've tried the following on it and nothing seems to work: First step: I ...
0
votes
0answers
11 views

overwrite over a PHP file with information by mistake

I don't think that's the way I'm asking I was editing a file on the server by SSH and mistakenly opening a file and copy paste code where it shouldn't go. Any way to get back that overwritten ...
1
vote
2answers
39 views

Recreate folder structure using md5 hashes

Given a long list of md5 checksums and copies of these files, renamed and in different folder structures: How can I recreate or recover the original filesystem structure? Assuming no hash collisions. ...
0
votes
1answer
72 views

hard disk failure, diagnostic and fixing

There was a hard disk failure on my laptop. 500GB SATA disk. So I'll have to replace the disk and try to recover user data. Disk is about 4 year old. Not sure how serious the disk corruption is. I did ...
0
votes
1answer
393 views

GNU ddrescue to copy directories or folders from hard disk

Debian 9 (Stretch) laptop, and attached external hard disk in enclosure. How to use GNU ddrescue to copy folders or files from failed hard disk? (not the whole disk image). For example, /home ...
0
votes
1answer
79 views

How to recover an overwritten file from a mounted VeraCrypt encrypted disk?

When copy and pasting commands with a space at the end it automatically runs the command without requiring the user to press enter. This is why I overwrote a large text file with a cp ./newfile ./...
0
votes
1answer
98 views

Time Machine system recovery alternative for linux

Does a Linux alternative to Time Machine (macOS) exist? I'm looking for the recovery mode feature that lets you restore the system completely. Can programs like Cronopete or Back in Time do that?
0
votes
2answers
130 views

How can I repair a Linux installation after mistakenly running rm -rf /*?

I executed rm -rf /* as root while in the /var directory on a RHEL7 system. I pressed Ctrl+C as soon as I realized to stop the operation, but I am now unable to log into the system. I don't know how ...

1
2 3 4 5
15