Operating System - HP-UX
1833207 Members
2838 Online
110051 Solutions
New Discussion

Re: CPIO RESTORE FROM REMOTE TAPEDRIVE

 
SOLVED
Go to solution
Neil Herring
Occasional Contributor

CPIO RESTORE FROM REMOTE TAPEDRIVE

Have tried using the follow command
find . -depth -xdev | cpio -icvBdlum 2>/tmp/err.cpio | remsh lhrtst22.gb "cat - | dd of=/dev/rmt/4m obs=5120" but to no avail, anybody got suggestions?
Have also tried setting up an NFS link but a filesystem is already named as that so no can do unless anyone got suggestions again!?
The Fish
3 REPLIES 3
Herve BRANGIER
Respected Contributor
Solution

Re: CPIO RESTORE FROM REMOTE TAPEDRIVE

Hi

Just an idea : your command line is used to
backup to a remote tape drive. If you want to
restore your tape I think you need to use
something like :

remsh your_hostname -l user_name "dd if= obs=" | cpio -icvBdlum

HTH

Herv?

Robin Wakefield
Honored Contributor

Re: CPIO RESTORE FROM REMOTE TAPEDRIVE

Neil,

You're saying you do a find, piped through to a cpio. The -i option is a restore option, so what is the find doing here? Do you mean -o ?

Robin.
Neil Herring
Occasional Contributor

Re: CPIO RESTORE FROM REMOTE TAPEDRIVE

Thanks very much, most helpful and it works.
Only problem now is that I have a tape header issue but that's for me to worry about!!
The Fish