Re: cpio



tinku wrote:
Hi Unix gurus,
I would like to have some examples of cpio
command which will backup a my home directory to another disk on my
system plz give the syntax or an example how to backup i am struggling
plz help me new to solaris.


i am using sun solaris10 and i have one disk c0t0d0s4 where my home
direcotry resides which is /export/home/myhome and i would like to
backup it up on to another disk c0t2d0s5 slice and to a backup folder
named bkp on that particular slice.

it would be better if u give an example to me..


Thanks for all suggestions in advance.


cd /export/home/myhome
find . -depth -print | cpio -pdmv /bkp
.