tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: rioux () ip6480nl ! ce ! utexas ! edu (Tom Rioux)
To: tru64-unix-managers
Subject: SUMMARY  cpio restore
Date: Mon, 24 Jun 1996 11:45:07 +0000	[thread overview]
Message-ID: <96076333621536.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1996-06-24 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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