Operating System - HP-UX
1834737 Members
3056 Online
110070 Solutions
New Discussion

copy raw device file to remote server

 
SOLVED
Go to solution
Camel_1
Valued Contributor

copy raw device file to remote server

Hi there,

Is it possible to copy raw device file from one server to another server thru network?

Thanks,

4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: copy raw device file to remote server

Why not?? With backup products that support backups of raw devices. Also you can use combination of dd and rcp/scp

something like follows.

dd if=raw_file bs=1024k | rcp host_name "cat - | dd of=some_file bs=1024k"

Anil
There is no substitute to HARDWORK
Roland Piette
Regular Advisor

Re: copy raw device file to remote server

Hi,

I suppose that RAC wants to say remsh in place of rcp.

Regards
Roland
Suraj Singh_1
Trusted Contributor

Re: copy raw device file to remote server

To put it simply:

# dd if=/dev/rdsk/cxtydz of=dev.dd bs=1024k
# scp dev.dd root@other_host_name:/dir_name
# remsh other_host_name -l root "dd if=/dir_name/dev.dd of=/dev/rdsk/cxtydz bs=1024k"

Rgds
What we cannot speak about we must pass over in silence.
Steven E. Protter
Exalted Contributor

Re: copy raw device file to remote server

Two ways I know of:

dd command

I did a complete Ignite system transfer and had usable raw data on the end client.

How and why the ignite thing worked is still a mystery to me.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com