How to recover deleted file in Solaris?

dear all
please tell me

how can i recover deleted file in solaris.
i am removing file with rm command.

thanks in advance.

it depends... if you've snapshots/backups you can recover the file. if not, the file is gone.

1 Like

thanks for your replay
we did not take the backup and we don't have any snapshot also.

is there any other way to recover the files.
can we recover from lost+found ?
can we recover from partition of the mount point ?

Probably not, at least not with a simple/affordable method.

No. lost+found is designed to store files lost after a file system failure, not for removed files.

Even while some or all of the data blocks containing the file content might still be on disk, the relationship between them is lost (ordering, location). Moreover, these blocks are eventually overwritten by new data.