tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Robin Bujhawan <petroisd () trinidad ! net>
To: tru64-unix-managers
Subject: Restoreing from a "cpio" backup.
Date: Fri, 25 Apr 1997 20:54:09 +0000	[thread overview]
Message-ID: <96078611110679.tru64-unix-managers.marc@archive.invalid> (raw)

I'm having difficulty restoring from a cpio backup. Apparently, I'm not specifying the pattern properly for the restore.

Cmd. used for the backup:- 
"find / -depth -print | cpio -ocvB | dd bs=5k of=/dev/rmt0h"

This in fact successfully backed up all files from root.

Now I want to restore all files and sub-directory contents of the "/robin" directory.

I issued for the restore:-

cpio -iudmvcB < /dev/rmt0h "/robin/*"

This only restored the directory names under /robin ex:

/robin/robin1
/robin/robin2

However, robin1 and robin2 also have sub-directories with files.

How can I restore all files & directories under robin recursively.

Essentially, I want to get back everything under the /robin directory. What pattern should i specify?

Thanks.

                 reply	other threads:[~1997-04-25 20:54 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