Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIM mksysb restore

Status
Not open for further replies.

khalidaaa

Technical User
Jan 19, 2006
2,323
BH
Hi all,

i did a stupid mistake and i've deleted /ora0/app/oracle filesystem by mistake but i have a recent mksysb backup image on NIM server. Now all i need is to restore this filesystem from that image (i have only one vg which is rootvg)

how to do that?

Regards
Khalid
 
get the mksysb image on your server, on an nfs mounted directory or place it directly on the host. then,

restore -xdvqf <mksysb image> /filsystem
 
its not working for some reason!!!

i did just as you told me

i copied the image to the machine i want to restore the filesystem in

and i issued this command

restore -xdvqf /bkup/s2edms_20060413 /ora0/app/oracle

but it doesn't copy any thing!!!

That's the output:


New volume on /bkup/s2edms_20060413:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Thu Apr 13 18:15:11 SAUST 2006
Files are backed up by name.
The user is root.
The total size is 0 bytes.
The number of restored files is 0.

any clue please???
 
oh, cd to root's home dir and place a dot '.' in front of the path name, eg

./ora0/app/oracle

sorry, forgot that part
 
cd to root's home dir and place a dot '.' in front of the path name, eg

Assuming your root home directory is /, this will work. Otherwise just change to the root directory. I only point this out because some people change root's home directory to /root fromt the default of /.

cd /
 
so your command should look like

restore -xdvqf /bkup/s2edms_20060413 ./ora0/app/oracle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top