- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to check make_tape_recovery buckuped files
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
тАО08-18-2003 08:03 AM
тАО08-18-2003 08:03 AM
i would know how i can verify that on the tape there are all the files that make_tape_recovery should have backed up.
Thank you
Stefano
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 08:05 AM
тАО08-18-2003 08:05 AM
Re: How to check make_tape_recovery buckuped files
Use the mt command to skip the first file: mt -t /dev/rmt/Xmn fsf 1
Then use tar -t to view the contents of the archive.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 08:05 AM
тАО08-18-2003 08:05 AM
Re: How to check make_tape_recovery buckuped files
Boot a system off the tape and restore it and look at the results.
Beyond that you will have to trust the logs.
It is a good idea to test disaster recovery though so I recommend a test before you are in a panic recovery situation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 08:06 AM
тАО08-18-2003 08:06 AM
Re: How to check make_tape_recovery buckuped files
# mt -f /dev/rmt/?mn rew
# mt -t /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn
Replace the ?mn the the appropriate tape drive for your system and be sure to use the no-rewind device name as I do above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 01:15 PM
тАО08-18-2003 01:15 PM
Solutionhttp://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374999
Document id: KBRC00010753
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 03:39 PM
тАО08-18-2003 03:39 PM
Re: How to check make_tape_recovery buckuped files
Run check_recovery which will compare the current system to the system recovery status file.
And secondly, you can position the tape after the lif volume (mt -t /dev/rmt/0mn fsf 1) and run a "tar tvf /dev/rmt/0mn > /tmp/tape-contents" command and check the output to what is on the system or recorded in the flist file in the recovery directory (/var/opt/ignite/recovery/latest).
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2003 04:53 PM
тАО08-18-2003 04:53 PM
Re: How to check make_tape_recovery buckuped files
check_recovery would NOT check the tape anyway. check_recovery was just designed to tell you if it thought it was time for you to create another make_recovery tape.
I recommend to just forget about check_recovery and use the make_tape_recovery command which has many more options and is much more robust.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 01:23 AM
тАО08-19-2003 01:23 AM
Re: How to check make_tape_recovery buckuped files
to verify e.g. automated recovery tape creation it is really best to rely on the log file.
Basically a grep -i -E "unsuccessful|error|fail|abort" /var/opt/ignite/recovery/latest/recovery.log will most likely alert you in case of any problem.
(Warnings can usually be ignored).
The one thing you *might* want to check in addition is the filelist (var/opt/ignite/recovery/latest/flist) which is used to create the archive and possibly if there is a difference between the flist and what a tar tvf of the archive lists.
I have had a single case where a there was a problem with a directory name consisting of a single non-printing character and everything in the flist following this line was *not* contained in the archive. However, in this case the logfile said something like "awk: cannot divide by zero" (but also "... completed successfully" !!)
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2003 10:31 AM
тАО09-26-2003 10:31 AM
Re: How to check make_tape_recovery buckuped files
mt -t /dev/rmt/0mn fsf 1
tar -tvf /dev/rmt/0mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2003 10:55 AM
тАО09-26-2003 10:55 AM
Re: How to check make_tape_recovery buckuped files
The bottom line though is that if you are going to be sure about your make_tape_recovery, you are going to have to boot off that tape and restore a system and see if it works.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com