- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fastest copy from one to another server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:14 AM
11-27-2003 01:14 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:22 AM
11-27-2003 01:22 AM
Re: fastest copy from one to another server
In the hpux 10.20 server, cd to the directory whose contents you wan to copy:
#tar cvpf - . | remsh <11.0 IP address> -l root "cd
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:22 AM
11-27-2003 01:22 AM
Re: fastest copy from one to another server
# cd /source_dir
# find . | cpio -o | remsh server " cd /target_dir ; cpio -idum "
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:36 AM
11-27-2003 01:36 AM
Re: fastest copy from one to another server
one suggestion more:
fbackup -i /src -f - | remsh remote -l root(cd /dst; frecover -Xrf -)
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:38 AM
11-27-2003 01:38 AM
Re: fastest copy from one to another server
something missing:
fbackup -i /src -f - | remsh remote -l root "(cd /dst; frecover -Xrf -)"
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:51 AM
11-27-2003 01:51 AM
SolutionIf on the same subnet, then mount the remote dir via NFS and use vxdump:
vxdump -0 -f - -s 1000000 -b 16 /some/dir | (cd /mnt/some/dir/on/new/server ; vxrestore rf -)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 01:59 AM
11-27-2003 01:59 AM
Re: fastest copy from one to another server
an alternative would be:
rcp -pr /src remote:/dst/
thats also quite fast.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 03:06 AM
11-27-2003 03:06 AM
Re: fastest copy from one to another server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 03:21 AM
11-27-2003 03:21 AM
Re: fastest copy from one to another server
you would have to create a .rhosts file with access 600 on the remote host and add the local host and user, you want to allow access. Then use rcp -pr /src userremote@remote:/dst/
The userremote, in case the local and remote user are not the same.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 03:25 AM
11-27-2003 03:25 AM
Re: fastest copy from one to another server
I forgot to say, that .rhosts must be in the home directory of the remote host.
Example of a line in .rhosts:
d280-hostname user-on-d280
greetings,
Michael