- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: log output from a cpio backup
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
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
тАО06-11-2004 08:48 AM
тАО06-11-2004 08:48 AM
log output from a cpio backup
Running the following command: find /u01 | cpio -ov | gzip > /jonah_orastage/xxx Would like to be able to log the output from these commands to a file on the /jonah_orastage mount point. When I add >> /jonah_orastage/log 2>&1 to the end of the command the log file ends up capturing the cpio output. Any thoughts?
Thank you for the input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2004 07:45 PM
тАО06-11-2004 07:45 PM
Re: log output from a cpio backup
Quote:
The tee command transcribes the standard input to the standard output and makes copies in the files.
End Quote
find /u01 | tee -a /jonah_orastage/log | cpio -ov | gzip > /jonah_orastage/xxx
There are ways around this, like first do find to a logfile, cat the logfile for the cpio, and append the logfile to /jonah_orastage/log.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2004 05:22 AM
тАО06-12-2004 05:22 AM
Re: log output from a cpio backup
Vern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 11:18 AM
тАО06-14-2004 11:18 AM
Re: log output from a cpio backup
find /u01 | cpio -ov 2> /jonah_orastorage/log | gzip > /jonah_orstage/xxx
should suffice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 12:42 PM
тАО06-14-2004 12:42 PM
Re: log output from a cpio backup
Thank You