tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Restoreing from a "cpio" backup.
@ 1997-04-25 20:54 Robin Bujhawan
  0 siblings, 0 replies; only message in thread
From: Robin Bujhawan @ 1997-04-25 20:54 UTC (permalink / raw)
  To: tru64-unix-managers

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.

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

only message in thread, other threads:[~1997-04-25 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-25 20:54 Restoreing from a "cpio" backup Robin Bujhawan

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