Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to get back deleted files in solaris

Posted on 2011-03-17
5
Medium Priority
?
289 Views
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
0
Comment
Question by:Dba_Oracledb2
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

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

Author Comment

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

Accepted Solution

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

Author Comment

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

Assisted Solution

by:jgiordano
jgiordano earned 2000 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.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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 explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

580 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