- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_recovery
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
11-14-2001 07:17 AM
11-14-2001 07:17 AM
1) will the following cron work?
00 20 * * 3 /opt/ignite/bin/make_recovery -A -v -C 2> /{dir}/recover.log
2) how can i check it worked and would be safe to come back on and use?
cheers,
mark.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 07:22 AM
11-14-2001 07:22 AM
Re: make_recovery
why don't you direct the standard output to the same file where you are directing the standard error,
00 20 * * 3 /opt/ignite/bin/make_recovery -A -v -C > /path_to_recover.log 2>/path_to_recover.log
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 07:23 AM
11-14-2001 07:23 AM
Solutionmt -t /dev/rmt/0m rew
mt -t /dev/rmt/0mn fsf
pax -vf /dev/rmt/0mn
You can also check make_recovery tapes by doing the 1st 2 mt commands
and then using tar to list or recover files
tar -tvf /dev/rmt/0mn
or
tar -xvf /dev/rmt/0mn path_filename
Eileen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 07:26 AM
11-14-2001 07:26 AM
Re: make_recovery
Here is a way to verify a good make_recovery tape,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=55f163c108d1cac28b/screen=ckiDisplayDocument?docId=200000055269953
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 07:28 AM
11-14-2001 07:28 AM
Re: make_recovery
Instead why don't you create script and execute the same with cron job and then mail the log to you at the end of script
Check this one:
DATE=`/usr/bin/date '+%m%d%y'`
HOSTNAME=`/usr/bin/hostname`
LOG_DIR=/var/adm/logs/sysrecover
LOG_FILE=${LOG_DIR}/${HOSTNAME}.${DATE}
LVMCONF_DIR=/etc/lvmconf
TAPE=/dev/rmt/0m
NTAPE=${TAPE}n
/usr/bin/mt -f ${TAPE} rewind
/usr/bin/date > ${LOG_FILE}
/usr/bin/echo "" >> ${LOG_FILE}
/opt/ignite/bin/make_recovery -A -C -v -d ${NTAPE} 1>> ${LOG_FILE} 2>> ${LOG_FILE}
/usr/bin/mt -f ${TAPE} offl
/usr/bin/echo "" >> ${LOG_FILE}
/usr/bin/date >>${LOG_FILE${LOG_FILE}
mailx -s "$(uname -n) System Recovery Tape Status" yourname@yordomain<