- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving large 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
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
10-25-2004 06:32 AM
10-25-2004 06:32 AM
ftp -n 55.55.55.55 <<-EOF | tee ftplog
user mickey mouse
binary
hash
cd /
mget /oradata
bye
E
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:35 AM
10-25-2004 06:35 AM
Re: moving large files
you can use rcp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:36 AM
10-25-2004 06:36 AM
Re: moving large files
customize this one to your needs:
find . | cpio â ocB | compress | remsh server2 â cd /dir; uncompress | cpio â icvdumBâ
good luck,
Th
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:38 AM
10-25-2004 06:38 AM
Solutiontar cf - . | compress -c | remsh myremote "zcat - | ( cd /tmp ; tar xf - )"
You can use ssh instead of remsh also.
This bundles up the files via tar, then compresses the data (for less data traffic across network), uncompresses on the remote server, and then untar.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:39 AM
10-25-2004 06:39 AM
Re: moving large files
second try:
find . | cpio -ocB | compress | remsh server2 "cd /dir; uncompress | cpio -icvdumB"
or with tar & gzip:
tar -cvhf - . | gzip -c | remsh server2 "cd /dir; gunzip -c | tar xvf -"
good luck,
Thierry Poels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:40 AM
10-25-2004 06:40 AM
Re: moving large files
The problem is that ftp transfers files and not directories.
I've done this before using 'rcp'. You'll need host equivalence setup between the two servers (.rhosts). I used it to move several hundred gigabytes of Oracle files between systems and it worked just fine. Something like this should work:
rcp -pr host1:/oradata .
I'd suggest testing it with some small files and directories first to make sure it behaves like you expect.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:42 AM
10-25-2004 06:42 AM
Re: moving large files
/usr/sbin/vxdump 0f - /dev/vgXX/lvYY | remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:42 AM
10-25-2004 06:42 AM
Re: moving large files
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:42 AM
10-25-2004 06:42 AM