- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Copying log file to window system
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
12-19-2006 01:42 PM
12-19-2006 01:42 PM
Copying log file to window system
I am trying to periodically copy files from UX server to a window system. Can I use cron to do this? if so, how should this be done. what is the best practice? Can I use scp?
Best regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 05:34 PM
12-19-2006 05:34 PM
Re: Copying log file to window system
you can use either a push or a pull strategy!
I would prefer to send all our log files in compressed+zip format to a windows drive that has been mounted using CIFS.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2006 12:42 AM
12-20-2006 12:42 AM
Re: Copying log file to window system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2006 12:48 AM
12-20-2006 12:48 AM
Re: Copying log file to window system
Yes you can use scp or ftp...ftp will require the password and you will have to create an netrc file or with scp you can set it up to be password-less which is easier. I installed CIFS and then just copy the log files right to the windows system, which might be your best bet.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2006 01:00 AM
12-20-2006 01:00 AM
Re: Copying log file to window system
You can absolutely use cron to do this. The best practice really depends on your particular systems, utilities, and needs. scp certainly is one option, and has several advantages over other methods:
* no need to mount a remote CIFS/NFS share ahead of time,
* in-flight compression,
* encryption,
* passwordless authentication, if so desired.
Other methods worth mentioning are ftp, sftp, rsync, as well using some form of shared storage.
Here's an example cron entry that will perform an scp using in-flight compression at 01:00 every morning:
00 01 * * * scp -C /src/path/* win-user@win-box:/dest/path/ 1> /dev/null
PCS