Q
Q
QQ2016-05-04 16:01:53
linux
QQ, 2016-05-04 16:01:53

Is it possible to recover data after rm -rf?

Hello.
I accidentally deleted the necessary files on the SSD drive, is there any way to recover them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2016-05-04
@botaniQQQ

‏Without rebooting , the first thing to do is not to write anything over the data (as a root user):
where X is the partition number
IMMEDIATELY write a copy of the FS log to an external drive:
Then it is desirable to make an exact copy of the partition on an external drive:
You can restore in this order:
ext4magic
Instructions on cases, what to do when: Typical usage scenarios of ext4magic
This program reads data at a higher level than others and is able to restore files and directories with their permissions. ext4magic is a rewrite of the ext3undelete program from scratch, more flexible.
If there is a bummer, then you can try lower-level programs that can restore file signatures (hemorrhoids):
scalpel, first, testdisk, photorec.
There is also a paid R-Studio.

V
Victor Taran, 2016-05-05
@shambler81

if ext2 then restore ext4 by default is unlikely, it already depends on how you mounted the device.
For example, after deletion, everything is rubbed with zeros, there are no options here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question