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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

813 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

13 Experts available now in Live!

Get 1:1 Help Now