- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Transfer files between two systems
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
тАО07-13-2000 12:55 AM
тАО07-13-2000 12:55 AM
What is the savest and fastest way to transfering files (one dir) between two systems?
HP-UX 10.20 10mb network.
Marcel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 12:59 AM
тАО07-13-2000 12:59 AM
Re: Transfer files between two systems
ftp
rcp
NFS mounted file systems
I would suggest first look at rcp, then ftp, using man pages.
For further information, you could visit:
http://www.docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 01:06 AM
тАО07-13-2000 01:06 AM
Re: Transfer files between two systems
Update /.rhosts file with the server name and user name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 01:09 AM
тАО07-13-2000 01:09 AM
Solutionfirst check access permissions on destination system:
remsh
If you get remshd: Login incorrect.
You have to create/edit $HOME/.rhosts at the destination system:
Add a line with the source systen hostname.
Then remsh should work.
To copy a directory (with all subdirs):
cd
find . -depth | cpio -ocB | remsh
This will copy all the files with the benefit that all file attributes are set at the destination system equal to the source system.
Cheers
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 06:24 AM
тАО07-13-2000 06:24 AM
Re: Transfer files between two systems
ftp is a little more secure as it requires interaction, but, can be scripted. Of course then you have an id and password in the script. You can work around that, it just takes a little more work.
Will you be doing the copies on a frequent basis? That will help determine what process you use. There is another process which I have looked at, but, honestly never tried. rdist. It is documented in the Internet Services, Installing and Administering Guide. You create a list of files on a master system that you want to have copied to other systems. Any time one of those files changes it gets copied out to the other system(s). If you need that type of functionality rdist looks very interesting. It's all automatic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 07:43 AM
тАО07-13-2000 07:43 AM
Re: Transfer files between two systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 09:16 AM
тАО07-13-2000 09:16 AM
Re: Transfer files between two systems
First, is this frequent, or infrequent activity. Is this common activity, but not necessarilly shared data? or Is is data that needs to be shared? Is it backup data?
If this is infrequent (occasionally having to copy a file) save the security headache's and FTP the data needed. FTP allows put and get of multiple files in the same directory, so should be enough.
If this is more common, look at using either a $HOME/.rhosts or /etc/hosts.equiv, and rcp'ing the data.
If this is backup copy, or data that needs to be in two locations at the same time, rsync or rdist are good choices, with one large note. root should not be allowed to run rdist! Users should use rdist, or rsync and Never root!
If this is data that does not have to be in two locations, but used by two or more locations, then NFS is the best choice. Data can sit on a server, but clients access data as if it were local. If you are new to HP-UX, SAM does a pretty good job of helping you set up NFS client and server.
Best of luck!