erltarregs
erltarregs

Reputation: 19

How to recover files on a server after rm -rf /* on a development server?

Unfortunately, one of our colleagues executed rm -rf /* command to one of our development servers via SSH and most of our development sites were there.

Is there any way to recover or rescue all those files? Our head still doesn't know it happened.

Upvotes: -2

Views: 1830

Answers (1)

Bishakh Ghosh
Bishakh Ghosh

Reputation: 1258

You can use TestDisk and PhotoRec to recover the lost files. If they are freshly deleted, that is the drive is not used much after the delete operation then you should be able to recover most of them.

Upvotes: 1

Related Questions