- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copy a number of directories
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
тАО10-26-2010 03:51 AM
тАО10-26-2010 03:51 AM
We have an issue on the HP-UX whereby we need to copy a number of directories from the India unix boxes to a box in LDN so that we can access the data via Windows.
We have a solution that use some automation in India to zip the files, and the copy them to LDN, and then unzip them again. The problem is this is taking 40 minutes for each high level dir, of which there are about 10-15.
The overall file size is not really an issue, ~12Mb un zipped, the problem is that there are 8,000 files across 936 dirs under the each high level dir we are copying.
Do we have anything at a systems level that could replicate a set of nominated folders, either in real-time or in a batch overnight? I thought it was worth an ask!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 04:00 AM
тАО10-26-2010 04:00 AM
Solutionhttp://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-3.0.7/
http://samba.anu.edu.au/rsync/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 04:49 AM
тАО10-26-2010 04:49 AM
Re: copy a number of directories
Yes ur question is valid, u go for scp with -pr option by which u can copy multiple directories, for more details refer scp man page. rsync is also other good option.
Hope this solves ur qery.
Don't forget to assign points
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 06:27 AM
тАО10-26-2010 06:27 AM
Re: copy a number of directories
> [...] a box in LDN [...]
> [...] access the data via Windows.
Not very detailed descriptions of anything.
Are you copying the files from an HP-UX
system to a Windows system? If so, then why
not say that? If not, then what _are_ you
doing?
> [...] zip the files, and the copy them to
> LDN, and then unzip them again.
As usual, showing actual commands might be
more helpful than vague descriptions.
Are you using gzip, or Info-ZIP Zip, or what?
> [...] taking 40 minutes [...]
_What_, exactly, is taking the time? "zip
the files"? "copy them"? "unzip them"?
> Do we have anything [...]
Who is "we"? What fraction of the data
changes every day? A program like rsync is
especially useful if not everything changes.
If all your files change every day, then
rsync may offer little real advantage over
batch transfers. If your bottleneck is the
network link, and you're transferring all the
files every day, then it's not clear that
anything (other then better compression)
would help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 10:34 PM
тАО10-26-2010 10:34 PM