Solved

How to get back deleted files in solaris

Posted on 2011-03-17
5
269 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
Comment Utility
From your backup, there is no undo or recycling bin
0
 

Author Comment

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

Accepted Solution

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

Author Comment

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

Assisted Solution

by:jgiordano
jgiordano earned 500 total points
Comment Utility
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

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.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SSN Format in Oracle 2 59
Create index on View 27 52
oracle query help 29 62
SQL query of Oracle 10g database. 8 56
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
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…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup

743 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