Skip to content

Recover data from formatted harddrive?

Hello, i know this is kinda a dumb question but:

Today I formatted my ssd and installed arch and I kinda forgot to backup one folder, is there any way I could get the data back? Thanks

2 points4 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 76% up
Kind
Text
ID
ymujf1

Author

40
posts
55
comments
13
media
View profile

4 comments

Don't mount the disk. Use DD, one of its forensic equivalents, or any disk imaging software that makes RAW images. Mount that that image using losetup or udisks2. Use testdisk by gcsecurity to scan those mount points for deleted files. Then recover them to your /home folder.

3 points

Depends on what file system it was before and the type of format you used. If you did a quick format you could have a chance at getting your files back. I unfortunately don’t know any linux data recovery software. I hope i pointed you in the right direction :I

2 points

The FS was btrfs, now it is ext4. The file was just a game save file, which I luckily found in my Documents folder so I lost about 2 weeks of playtime. Thanks for the help tho

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.