- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- best way to copy files
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
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
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-24-2004 01:58 AM
тАО11-24-2004 01:58 AM
best way to copy files
rm -r /oradata/*
rcp -pr ngbva:/oradata .
is there a better way? please give me a sample script.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 02:06 AM
тАО11-24-2004 02:06 AM
Re: best way to copy files
You can use any other utility like scp / ftp. But it might still be slow. The whole thing depends on the network speed. Maybe the bottleneck is your network.
also if both your servers are 100 Full Duplex, make sure the server network port as well as the switch is set to 100 Full Duplex / Fixed and there is no auto-neg enabled / involved.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 02:08 AM
тАО11-24-2004 02:08 AM
Re: best way to copy files
since 'rcp' is unsecured anyway, try 'ftp' manually and measure the difference. If you find it (it should be) faster, you can script it.
I would suggest you setup ssh on both the boxes, setup public/private key authentication and use 'sftp' non-interactively. It is secured and doesn't require passwords to be supplied or hardcoded in any files.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 02:16 AM
тАО11-24-2004 02:16 AM
Re: best way to copy files
e.g. with tar (max 8GB files with recent tar patch level):
remsh ngbva "cd /oradata && tar cf - . | gzip --fast" | gzcat | tar xvf -
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 02:17 AM
тАО11-24-2004 02:17 AM
Re: best way to copy files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 02:19 AM
тАО11-24-2004 02:19 AM
Re: best way to copy files
scp/sftp
authentication is secure which is better than ftp.
You can get better tranfser rate and less network traffic by using gzip ahead of time. There is a substantial price in overall processing and transfer time because gzip is quite efficient, but its not all that fast.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 02:20 AM
тАО11-24-2004 02:20 AM
Re: best way to copy files
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 03:00 AM
тАО11-24-2004 03:00 AM
Re: best way to copy files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 03:02 AM
тАО11-24-2004 03:02 AM