How to get back deleted files in solaris

Posted on 2011-03-17
Last Modified: 2012-05-11
Solaris 5.10, i have accidently removed a directory which has some scripts of mine using rm -rf, how can i get them back ?,,, thanks
Question by:Dba_Oracledb2
  • 3
  • 2
LVL 11

Expert Comment

ID: 35160986
From your backup, there is no undo or recycling bin

Author Comment

ID: 35161029
this is basic feature, i wonder why they did not include in solaris OS
LVL 11

Accepted Solution

jgiordano earned 500 total points
ID: 35161039
there is,  it is called the -f. you explicitly "emptied the recycling bin" so to speak

Author Comment

ID: 35161077
then how can i delete directory with out using -f, and make it recoverable....
LVL 11

Assisted Solution

jgiordano earned 500 total points
ID: 35161110
there is no way of recovering unless there are snapshots enabled and/or backups enabled. If you don't there is no way to recover, I am sorry. The -r mean recursive the -f means force. You don't need the -f to delete a directory if it is empty. The premise is to know your files and what you are deleting.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now