- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Log what a script does
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
09-29-2009 07:46 AM
09-29-2009 07:46 AM
#!/sbin/sh
# Purpose
# Back up any and everything associated with DataProtector
# in preperation of upgading from 5.5 to 6.1
/sbin/tar -cvf /dev/rmt/0mn \
/sbin/init.d/omni \
/sbin/rc1.d/K162omni \
/sbin/rc2.d/S838omni \
/etc/opt/omni \
/opt/omni \
/opt/omni/newconfig/etc/opt/omni \
/opt/omni/newconfig/var/opt/omni \
/opt/omni/newconfig/opt/omni \
/var/opt/omni \
&1> /tmp/omni_bu_list
/usr/bin/mt -f /dev/rmt/0mn offl
Everything was working and then I inserted the next to last line in order to try and get a log. Messed around with trying to use the function "tee" but that didn't work. Looking for suggestions here
Ususally reward points quickly.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 07:51 AM
09-29-2009 07:51 AM
Re: Log what a script does
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 07:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 08:43 AM
09-29-2009 08:43 AM
Re: Log what a script does
James - exactly what I was looking for.
Regards and thanks to both.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 09:14 AM
09-29-2009 09:14 AM
Re: Log what a script does
Pete
Pete