Visit Our UNIX and Linux User Community

how to recover from deleted etc in solaris 9

Thread Tools Search this Thread
Operating Systems Solaris how to recover from deleted etc in solaris 9
# 8  
Old 06-10-2011
Originally Posted by orange47
perhaps you should boot recovery cd and restore etc on tape from there.
already suggested this, tape doesn't work there.
you could also do it in some other, working, system.
This is a good idea.
This User Gave Thanks to Corona688 For This Post:
# 9  
Old 06-11-2011
Thanks for your replies so far. Are u saying that after booting with the cd-rom I should be able to copy my etc files from the tape using tar xvf /dev/rmt/0n?
Counting on your usual patience.
# 10  
Old 06-12-2011
hm, well that would probably depend on cdrom.. I never tried it, but Corona says it won't work.
kind of strange that systemrescuecd doesn't enable using tape backup for restore.
btw, what filesystem is it, ufs?

if you don't have a third, working, server, here is another option. its a bit time consuming; you could emulate solaris9 for sparc on a ordinary PC with qemu.
so if you make dd image of server2 hard drive and tape backups, in theory you could restore /etc in qemu, then write back the image to real hard disk.
# 11  
Old 06-12-2011
Corona what utilities were u talking about?
With this command
mount /dev/dsk/0t0d0s0 /mnt

will I be able restore from my tape?

In fact, am able to get the # prompt except that some of the disks can't be mounted. I also noticed that I can't even get the ok prompt.
When I start the server it always takes me to the # prompt.
Please help me.

Last edited by rahmantanko; 06-13-2011 at 02:10 AM..
# 12  
Old 06-14-2011
Originally Posted by rahmantanko
Corona what utilities were u talking about?
With this command
mount /dev/dsk/0t0d0s0 /mnt

will I be able restore from my tape?
Depends if that's your disk or not. Also depends if that's the right partition of the right disk or not.

How you restore from tape depends on how you made the backup in the first place. You'd know that better than I.

Previous Thread | Next Thread
Test Your Knowledge in Computers #972
Difficulty: Easy
The Linux kernel is written in assembly language.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to recover the deleted file in Linux?

hi, i deleted one file from linux please let me know, if we can recover it ? if yes, pls let me know the steps to do.. (3 Replies)
Discussion started by: raghur77
3 Replies

2. UNIX for Dummies Questions & Answers

How to recover deleted file?

Hi All By mistake i have deleted some file in a directory, is there any way to get it back in Unix( i am using sh ) (2 Replies)
Discussion started by: parthmittal2007
2 Replies

3. Solaris

How to recover deleted file in Solaris?

dear all please tell me how can i recover deleted file in solaris. i am removing file with rm command. thanks in advance. (3 Replies)
Discussion started by: nikhil kasar
3 Replies

4. Emergency UNIX and Linux Support

Recover deleted partition

Hi, I have got 2 hdds (2x Seagate 7200.12, 500GB). I had two RAID volumes on them: 1: 100GB RAID0 (strip) 2: ~415GB RAID1 (mirror) due to problems with matrix I removed RAID0 and RAID1 - i thougth that all data from RAID1 would be available. Unfortunately it is not. On 1 disk I set... (7 Replies)
Discussion started by: Chrisdot
7 Replies

5. Shell Programming and Scripting

Need to Recover Deleted Files

Hi, By mistake, executed the following command : rm -rf * and ALL files got deleted. But I need to get back these files as they are very very important. Please help me how to recover this file. Its Urgent for me please. Thanks in advance. (6 Replies)
Discussion started by: unx100
6 Replies

6. UNIX for Dummies Questions & Answers

recover deleted file in unix

hi after using rm command how to recover the deleted file (7 Replies)
Discussion started by: arulkumar
7 Replies

7. Solaris

How to Recover a deleted file in SOLARIS

Anybody know how to recover a deleted file in unix Please help (3 Replies)
Discussion started by: pmsuper
3 Replies

8. AIX

recover deleted files

How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies

9. UNIX for Dummies Questions & Answers

Recover deleted files

Is there a Unix tool, like in Novell, to recover accidentally deleted files? (2 Replies)
Discussion started by: kuultak
2 Replies

Featured Tech Videos