1834804 Members
3124 Online
110070 Solutions
New Discussion

Re: cpio error

 
Shah Gaurang B.
Frequent Advisor

cpio error

Hi Friends,

When i apply commnad

cpio -icvdumB /tmp/data < /dev/rmt/0mnb for restoration, display error
Out of phase--get help
Perhaps the "-c" option shouldn't be used

So how to solved the problem i have to restore in different directories than from where i take backup on different system.

pl. guide me



2 REPLIES 2
Peter Godron
Honored Contributor

Re: cpio error

melvyn burnard
Honored Contributor

Re: cpio error

cpio is an "interesting" command, in that you need to know what options were used to create the backup.
You could try the command without the c option, but that may still fail.
The next one to try removing would be the B, but it may also still not work.

One option is to use the pax command and see if that can help you, if you do not know what options were used.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!