tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY  cpio restore
@ 1996-06-24 11:45 rioux
  0 siblings, 0 replies; only message in thread
From: rioux @ 1996-06-24 11:45 UTC (permalink / raw)
  To: tru64-unix-managers

ANSWER:

from Brian Sheehan sheehan@scripps.edu:

use sh instead of ksh or csh to perform the restore:
  % sh
  $ mt -f /dev/rmt0h rewind
  $ cpio -ivmudc -C 32768 -I /dev/rmt0h /res1/cphsu/mlk183*
  $ exit
  %

This worked.  No other replies were received.  Thanks Brian.


ORIGINAL QUESTION:

I am using DU 3.2C on a DEC Alpha 3000 model 400 and as root ksh created a
cpio save set on tape using the following commands:
  mt -f /dev/rmt0h rewind
  ulimit -f unlimited
  umask 027
  find / -print | cpio -oc -C 32768 -O /dev/rmt0h
  mt -f /dev/rmt0h rewind

I am able to list the tape as root ksh using the following commands:
  mt -f /dev/rmt0h rewind
  cpio -itvc -C 32768 -I /dev/rmt0h >twr.scr 2>&1

I can search twr.scr and find the 60+ files I am trying to restore.

As root ksh, when I use either of the following commands, they restore only
the directory and none of the files:
  mt -f /dev/rmt0h rewind
  cpio -ivmudc -C 32768 -I /dev/rmt0h /res1/cphsu/mlk183\*
  mt -f /dev/rmt0h rewind
  cpio -ivmudc -C 32768 -I /dev/rmt0h "/res1/cphsu/mlk183*"


Tom Rioux
ECJ 3.400.C4
Civil Engineering Department C1700
The University of Texas at Austin
Austin, Texas  78712
512-475-6094
512-471-0592 FAX
512-606-8320 digital pager
rioux@mail.utexas.edu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-24 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-24 11:45 SUMMARY cpio restore rioux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox