- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Date of LIF tape 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
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-02-2003 03:25 AM
09-02-2003 03:25 AM
Date of LIF tape backup
Can anyone answer why this apparently gets through the error checks but no output appears ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 04:11 AM
09-02-2003 04:11 AM
Re: Date of LIF tape backup
add
set -x
before or after the variable declarations and start it in a shell. The output will show you what it does, where it exits etc.
Regards
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 04:16 AM
09-02-2003 04:16 AM
Re: Date of LIF tape backup
instead of debugging a script you might want to try a more simplistic approach to obtain the date a recovery date was created:
mt -f /dev/rmt/0m rewind
dd if=/dev/rmt/0m | grep sysadm_message
# Output will be like
sysadm_message = "Recovery tape created from system: karlotto on Thu Oct 25 21:12:34 2001
Control-C
mt -f /dev/rmt/0m rewind
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 04:16 AM
09-02-2003 04:16 AM
Re: Date of LIF tape backup
# mt -t /dev/rmt/0m
# dd if=/dev/rmt/0m of=/tmp/LIF bs=2k
# lifls -l /tmp/LIF
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 05:00 AM
09-02-2003 05:00 AM
Re: Date of LIF tape backup
Thanks for these suggestions, I'll try something when I next put the tape in (Its a veritable mile to the computer room and i'm doing incrementals at the moment)
Cheers
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 03:43 AM
09-04-2003 03:43 AM
Re: Date of LIF tape backup
03/09/02
even though the recovery was dated 03/09/03. Why is this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 04:12 AM
09-04-2003 04:12 AM
Re: Date of LIF tape backup
well, the simple answer is that you get the sixth parameter of the line containing the string "HP".
Please, show us the output of lifls -l /tmp/LIF
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 04:39 AM
09-04-2003 04:39 AM
Re: Date of LIF tape backup
Thks anyway