1833494 Members
2804 Online
110052 Solutions
New Discussion

CPIO Recover Problems

 
John Letarte
Occasional Contributor

CPIO Recover Problems

I have 9 files that were backed up with CPIO on a nightly script per:
cd/
umask 0
find .-print|cpio -ocvBdum > /dev/rmt/0m 2>/dev/null

I am trying to restore using:
cd/
cpio -icRvBdum "filename" < /dev/rmt/0m

I know this works, because I have done it with an earlier backup tape, same file. But am getting this back:
cpio: Out of phase; resyncing
End of Volume
If you want to go on, type device/file name when ready

HELP!
Thanks,
John
2 REPLIES 2
Kodjo Agbenu
Honored Contributor

Re: CPIO Recover Problems

Hi John,

Linux or HP-UX ?

Good luck.
Kodjo
Learn and explain...
John Letarte
Occasional Contributor

Re: CPIO Recover Problems

Sorry, this is HPUX 10.20 (I know, I know, it isn't supported anymore).
Any how, I figured out the problem. The backups were set to backup a tar on M-W-F and do a cpio on T-Th-Sa. To keep things simple, has tapes labeled by the day, which was the day they went off, at 12:02 am. So I was trying to recover from Wed. tape, thinking cpio. Tar recovered nicely.
Thanks.