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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restore files

Status
Not open for further replies.

Midrange

Vendor
Aug 28, 2002
135
SG
hi there, is it possible to restore a specific files from a system backup. I want to restore a /etc/passwd but to a different directory. please provide the procedures.

thanks.
 
That is possible and is provided for in smit:

fastpath is smit restmksysb, command is restorevgfiles

mkdir /tmp/restoredir
restorevgfiles -f /dev/rmt0 -d /tmp/restoredir ./etc/passwd

Yhe command is in fact a shell script, so feel free to check it out. What it does is skip to 4th tape file and restore the specified file(s) to the specified dir (or the current dir).


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top