- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copy directory to remote host
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
Forums
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
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
01-24-2005 11:31 PM
01-24-2005 11:31 PM
copy directory to remote host
i'm newbie in hp-ux.I want to copy directory (directory size up to 90 GB)to remote host.what can i do ??i try to copy with ftp but i can't, an error is "not plain text".
thx,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 11:37 PM
01-24-2005 11:37 PM
Re: copy directory to remote host
i think it is better to tar the folder ,ftp the tar file to remote host,untar it.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 11:37 PM
01-24-2005 11:37 PM
Re: copy directory to remote host
# find /dir | cpio -o | remsh server " cd /copy ; cpio -idum "
90 GB is large, a tar to tape and a restore from tape could even be faster.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 12:19 AM
01-25-2005 12:19 AM
Re: copy directory to remote host
As mentioned, 90Gb will be transferred much faster using a tape unless the remote machine is in another city.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 12:40 AM
01-25-2005 12:40 AM
Re: copy directory to remote host
as suggested use a tape backup.
May be workwhile compressing the data beforehand to cut down on the number of tapes.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 01:02 AM
01-25-2005 01:02 AM
Re: copy directory to remote host
Where is remote host? if WAN - then that will take a long time...
RGds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 01:18 PM
01-25-2005 01:18 PM
Re: copy directory to remote host
this situation is that we want to upgrade application and we must to backup for application and database.one server for application and the other for database.backup is for rollback if upgrade is failed.so we make two backup, one on tape and the other on disk (copy disk to disk).remote host in same lan but different subnet.please give me some command that can help me!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 01:45 PM
01-25-2005 01:45 PM
Re: copy directory to remote host
on server you want to copy to:
#login as user who want to copy.
#vi ~.rhost
user IP of server you copy from.
#rcp IPserver:/path/file /path/file_onlocal.
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 03:49 PM
01-25-2005 03:49 PM
Re: copy directory to remote host
source node :-
cd $DIR;tar cvf - .|remsh
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 08:24 PM
01-25-2005 08:24 PM
Re: copy directory to remote host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 09:22 PM
01-25-2005 09:22 PM
Re: copy directory to remote host
i use exportfs.
in server that directory will be backup(ip=10.10.x.x), i am add directory name in /etc/exports:
#vi /etc/exports
/apps11i -anon=0
#exportfs -a
#exportfs
than in remote host:
#mount -F nfs 10.10.x.x:/apps11i /data/apps11i
is it true ???is backup is success??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 11:27 PM
01-25-2005 11:27 PM
Re: copy directory to remote host
You only 'see' the datas!
You still should create a tar-file, compress it (gzip) and copy it to the remote host. Only thing - you don't need rcp or ftp now.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 01:01 AM
01-26-2005 01:01 AM
Re: copy directory to remote host
vxdump -0 -f - -s 1000000 -b 16 /data/apps11i | (cd /newmountpoint ; vxrestore rf -) &
That should work - will be a bit slow as you are using NFS... /newmountpoint is the location of the new filesystem for your data.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 01:06 AM
01-26-2005 01:06 AM
Re: copy directory to remote host
rcp = remote copy
rpc = repote procedure call
You needed rcp, the error you posted is from rpc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 12:01 PM
01-26-2005 12:01 PM
Re: copy directory to remote host
that i know, vxdump is to dump in tape.i want to copy to disk in another host in same LAN(same building & floor) and to onother LAN (different building).there are many another application that run when i want to copy.i'm afraid, when i'm copy data,will be need more bandwith and cause the other application will run more slowly.help me please!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 12:14 PM
01-26-2005 12:14 PM
Re: copy directory to remote host
Ftp said "not plain text" it means you folder contain binary file. In you putting (or getting) scipt you must set binary mode for this file by issue bin command
ftp> bin.
and then excute you download or up load command.
Tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 12:15 PM
01-26-2005 12:15 PM
Re: copy directory to remote host
a) build a LAN just for administration (VLAN if you will) that won't impact the other network users. That is, separate networking hardware, cards, etc. that you can use to sling stuff around and not hurt production performance.
b) Use Tape.