1847097 Members
5614 Online
110262 Solutions
New Discussion

Remote copy server

 
yuki
Occasional Contributor

Remote copy server

I have a server that have many partition like /var , /usr .... , now I would like to make a copy of this disk ( like diskcopy a: a: in windows ) , including anything in this server ( data & partition etc ) , except plug a harddisk into the server then run diskcopy , can I do it via the network copy ? thx
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Remote copy server

Shalom,

Its called dd on HP-UX.

If its a hot plug disk all you should have to do is plug it in, see that its on ioscan and do the dd.

You are likely to copy LVM information to this disk so you might have a wee bit of trouble using it in other machines.

Might be easier to copy the data via the network using scp -pr or rsync

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
yuk1
Occasional Advisor

Re: Remote copy server

thx reply ,

scp -pr or rsync seems only copy the files in particular partition , it seems can not copy the whole disk like operating system , if I want the destination server could be the completely the same as the original server , is it possible ? thx
SKR_1
Trusted Contributor

Re: Remote copy server

Best Practice

Make the exact same FS on the new server and restore the backup of first server on that.

Thanks

SKR
Tim Nelson
Honored Contributor

Re: Remote copy server

Another best practice.

Use Ignite-UX to clone servers.


yuk1
Occasional Advisor

Re: Remote copy server

thx reply ,

Ignite-UX seems for UX server , is there other generic method , as I will do it on different platform ? thx
Steven Schweda
Honored Contributor

Re: Remote copy server

> [...] I would like to make a copy of this
> disk ( like diskcopy a: a: in windows ) ,
> including anything in this server ( data &
> partition etc ) [...]

> [...] I want the destination server could
> be the completely the same as the original
> server

> [...] I will do it on different platform
> [...]

Define "different platform".

> [...] is it possible ?

It might help if you had less contradictory
requirements. A different platform may use
a different disk partitioning scheme as well
as a different file system. Ignoring that
minor annoyance, I doubt that "/dev", for
example, on one system will be useful on a
different system.

A Forum search for things like
tar pipeline
should lead to some previous discussions.
yuk1
Occasional Advisor

Re: Remote copy server

thx reply ,

I would like to carify , I said "different platform" mean from ux server copy to ux server , and also from linux server to linux server , tar seems only do the copying by directory , but not whole system , right ? if I would copy anything including o/s , is it possible ? thx