Operating System - HP-UX
1751854 Members
5831 Online
108782 Solutions
New Discussion юеВ

how to transfer files from hp unix server to hp unix server

 
SOLVED
Go to solution
ng_7
Regular Advisor

how to transfer files from hp unix server to hp unix server

hi,

i have 2 hp unix server (say serverA and ServerB), i running out of space in ServerB and is trying to move some file into serverA, appreciate if someone could help me on this .

thanks in advance.
regards
ng
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: how to transfer files from hp unix server to hp unix server

The easiest way (though not the fastest but still not bad) is to set ServerA as an nfs server and export a filesystem or two and then NFS mount these exported directories on ServerB. Once that is done, the commands that you are familar with (cp, mv, rm, ls, mkdir, cpio -p) work just as they would for local files.
If it ain't broke, I can fix that.
freddy_21
Respected Contributor

Re: how to transfer files from hp unix server to hp unix server

you can do ftp and rcp command. but for rcp you must configure first at /.rhosts on both server.

thanks
Freddy
skt_skt
Honored Contributor

Re: how to transfer files from hp unix server to hp unix server

take a backup on a offline media and do a ftp/cp/mv after that..
Yogeeraj_1
Honored Contributor

Re: how to transfer files from hp unix server to hp unix server

hi,

depending on the nature of the files, you have use the appropriate actions.

I would first analyse the growth of the file systems in question, do the necessary purging, look for file/directory that can be compressed so as to save space...etc.

hope this helps too!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Steven E. Protter
Exalted Contributor

Re: how to transfer files from hp unix server to hp unix server

Shalom,

The solution depends totally on your needs.

NFS is great but you don't state the OS and if the files are sensitive you should know that NFS is not encrypted at all. Files being moved can be seen by anyone on your network.

I personally like openssh secure shell. It keeps everything nice and safe and establishing password free access is very easy.

Of course there is no move option, you have to copy, make sure the files got there and delete to relieve the space problem.

The right tool for the right job, the famous engineer in Star Trek once said.

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
ng_7
Regular Advisor

Re: how to transfer files from hp unix server to hp unix server

I think NFS is ok with me. thanks you guy for all your help.
ng_7
Regular Advisor

Re: how to transfer files from hp unix server to hp unix server

thanks