Using ufsdump and ufsrestore


 
Thread Tools Search this Thread
Operating Systems Solaris Using ufsdump and ufsrestore
# 1  
Old 03-16-2008
Error Using ufsdump and ufsrestore

HI Gurus,

I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:-
/,
/usr,
/oracle,
/export,
/sapr3,

I want to restore these files from tape onto a different server of the same type maintaining my current system configuration. how can I do it using ufsrestore??
# 2  
Old 03-16-2008
didn't you miss the /etc directory?

read the manpage fpr ufsrestore... there are nice examples!
# 3  
Old 03-16-2008
oops my bad. I have it on tape. just forgot to list it in the email. can you confirm that I can use ufsrestore to setup a new server with the exact configuration using the following commands:

ufsretsore rvf /dev/rmt/0n /
ufsretsore rvf /dev/rmt/0n /usr
ufsretsore rvf /dev/rmt/0n /etc
ufsretsore rvf /dev/rmt/0n /export
ufsretsore rvf /dev/rmt/0n /oracle
ufsretsore rvf /dev/rmt/0n /sapr3
# 4  
Old 03-16-2008
no i can't verify it... cause i haven't done something like that before! the commands seem to be ok, but you have to test to get proper results!

good luck,
DN2
# 5  
Old 03-18-2008
Error

I used the ufsrestore command to restore all my files from the tape media but I am having trouble booting my server. I get the following error messages:-

checking ufs filesystems
/dev/rdsk/c0t4d0s3: I/O error
Can't Open /dev/rdsk/c0t4d0s3: I/O error
/dev/rdsk/c0t4d0s3: CAN'T CHECK FILESYSTEM
/dev/rdsk/c0t4d0s3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

WARNING-Unable to repair one or more filesystems
Run fsck manuallly (fsck filesystem...)
Exit the shell when done to continue the boot process

Type control-d to proceed with normal startup,
(or give root password for system maintenance): DHCP negotiation failed, perhaps misconfigured or no DHCP server available
DHCP negotiation failed, perhaps misconfigured or no DHCP server available

how can I repair my solaris system in this case?
# 6  
Old 03-18-2008
bring the server into single user mode and run fsck -Y on the specified targets.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Using ufsrestore from a DAT tape of ufsdump backup

hi, was wondering if there is a problem with the patches, and if we wish to restore everything back to square one, how should we go about using ufsrestore from a DAT tape of ufsdump backup data ? (1 Reply)
Discussion started by: Exposure
1 Replies

2. Solaris

How to pipe ufsdump to ufsrestore?

Dear all, i want to copy the partition contents from a smaller disk to a larger disk but without modifying the target disk partition size. To this end, i tried to use piping ufsdump to ufsrestore as 'ufsdump 0f - /dev/dsk/c0t0d0s0 l ufsrestore -i - /dev/dsk/c0t1d0s0' but it was not successful. Can... (6 Replies)
Discussion started by: hadimotamedi
6 Replies

3. Solaris

How to pipe ufsdump to ufsrestore?

Dear all, i want to copy the partition contents from a smaller disk to a larger disk but without modifying the target disk partition size. To this end, i tried to use piping ufsdump to ufsrestore as 'ufsdump 0f - /dev/dsk/c0t0d0s0 l ufsrestore -i - /dev/dsk/c0t1d0s0' but it was not successful. Can... (0 Replies)
Discussion started by: hadimotamedi
0 Replies

4. UNIX for Advanced & Expert Users

Building New server using ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S. I am having ufsdump "mydump.rootdump.gz" in a Central NFS server. What I did:- I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

5. Filesystems, Disks and Memory

Building New server using Ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S. I am having ufsdump "mydump.rootdump.gz" in a Central NFS server. What I did:- I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

6. Solaris

ufsrestore

Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies

7. UNIX for Dummies Questions & Answers

ufsdump/ufsrestore problem

I ran ufsdump as follows............... # ufsdump 9ucf /dev/rmt/0n /dev/dsk/c1t9d0s3 DUMP: Writing 63 Kilobyte records DUMP: Date of this level 9 dump: Tue 23 Oct 2007 02:19:40 PM PDT DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c1t9d0s3 (gambler:/apps) to... (2 Replies)
Discussion started by: shorty
2 Replies

8. Solaris

ufsrestore?

I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps: 1. booted from cdrom to single user mode boot cdrom -s 2. used... (3 Replies)
Discussion started by: ECBROWN
3 Replies

9. Solaris

ufsrestore

on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to: connect to tape drive on HostA. change directory to /dir0/dir1 on tape and restore everything under that path to /dir1 directory. could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies

10. UNIX for Advanced & Expert Users

UFSDUMP & UFSRESTORE problems

Hi, guys ! I need some expert help on following problem: When trying to restore content of a machine using another backup machine using Ufsdump/Ufsrestore, it worked on /local1, but when attemting to do the same on /local2,/local3 and /local4, I get permission problems. Running superuser does... (9 Replies)
Discussion started by: DGoubine
9 Replies
Login or Register to Ask a Question