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!

CPIO partial restore 2

Status
Not open for further replies.

Slick629

Technical User
Sep 5, 2002
27
US
I have a full SCO 5.05 backup on tape. I need to restore some application from the tape to a SCO 5.07 server. The backup was made off of a boot and root floppy with the following cpio command
find . -depth -print | cpio -ocvB -C10240 > /dev/rStp0

I have tried restoring with this:
cpio -icvmadu "/oai*"</dev/rStp0
but all that I get is block sizes and it doesn't extract anything.

I limited in my knowledge of SCO any help would be greatly appreciated. I just need the cpio command set to restore my /oai directoty.

Thanks
 
Have you tried this ?
cpio -icvmadu "[highlight].[/highlight]/oai*" </dev/rStp0
Or this ?
cpio -icvBmadu -C10240 "./oai*" </dev/rStp0

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
cpio -icvmadu "oai*" </dev/rStp0

remove the /, as your original is relative.
You probably also need the -c10240
 
When I tried cpio -icvmadu "./oai*" </dev/rStp0 I get
blocks
When I tried cpio -icvBmadu -C10240 "./oai*" </dev/rStp0 I get
same thing 108250 blocks then back to command line and nothing has been extractd to the /oai directory

Any other ideas ?
 
Try the it options to get a table of contents.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks for all the help guys
this got it
cpio -icvmadu "oai*" </dev/rStp0

You guys are the best!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top