Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to get back deleted files in solaris

Posted on 2011-03-17
5
Medium Priority
?
284 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

916 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