- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DDS3 & Ultrium tape backup script
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
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
08-20-2003 06:41 PM
08-20-2003 06:41 PM
I got a backup problem from the following script that the backup light was keep working on DDS3 tape drive and the Ultrium tape drive seems not working from the script. Anyone tell me why?
##########################################
# Perform System (DDS3) Backup
##########################################
echo "System (DDS3) Backup by Ignite...(takes about 1 hour 30 minutes)"
echo
echo "System Backup directories: /"
echo "-------------------------------------------------"
echo "Insert a DDS3 and Ultrium tapes into tape drivers"
echo
echo "Press ENTER to start backup"
read dummy
echo
echo "System (DDS3) Backup in progress ...."
date
$ISD_MENU/writelog.sh System DDS3 Backup Start
#echo "enter ROOT password!"
/opt/ignite/bin/make_tape_recovery -A /dev/rmt/0m >> $ISD_MENU/backup_os.log
$ISD_MENU/writelog.sh System DDS3 Backup End
date
echo "System (DDS3) Backup Finished !"
echo
#echo Press ENTER to continue...
#read dummy
##########################################
##########################################
# Perform System (Ultrium) Backup
##########################################
echo "System (Ultrium) Backup by Ignite...(takes about 30 minutes)"
echo
#echo "System Backup directories: /"
#echo "-----------------------------------------------"
#echo "Insert an Ultrium tape into Ultrium tape driver"
#echo
#echo "Press ENTER to start backup"
#read dummy
#echo
echo "System (Ultrium) Backup in progress ...."
date
$ISD_MENU/writelog.sh System Ultrium Backup Start
#echo "enter ROOT password!"
/opt/ignite/bin/make_tape_recovery -A /dev/rmt/1m >> $ISD_MENU/ultrium_backup_os.log
$ISD_MENU/writelog.sh System Ultrium Backup End
date
echo "System (Ultrium) Backup Finished !"
echo Press ENTER to continue...
read dummy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 06:46 PM
08-20-2003 06:46 PM
Re: DDS3 & Ultrium tape backup script
dmesg
all my DDS3 scripts work just fine with Ultrium drives.
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-20-2003 06:50 PM
08-20-2003 06:50 PM
Re: DDS3 & Ultrium tape backup script
/dev/rmt/0mn
/dev/rmt/1mn
Test the backup device manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:04 PM
08-20-2003 07:04 PM
Re: DDS3 & Ultrium tape backup script
# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/1mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:05 PM
08-20-2003 07:05 PM
Re: DDS3 & Ultrium tape backup script
If you doubt the backup to the Ultrium has worked, check it out.
mt -t /dev/rmt/1mn rew
mt -t /dev/rmt/1mn fsf 1
tar tvf /dev/rmt/1mn > /tmp/recovery.log
Then compare it to the list of files in /var/opt/ignite/recovery/latest/flist.
I assume you are NOT using make_tape_recovery to do a FULL system backup (ie, including applications). If the applications live in another VG, you are not backin up the files.
Anyway, check it out and if you have any doubts, post another question.
tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:48 PM
08-20-2003 07:48 PM
Re: DDS3 & Ultrium tape backup script
...
#echo "enter ROOT password!"
/opt/ignite/bin/make_tape_recovery -A >> $ISD_MENU/ultrium_backup_os.log
....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 10:35 PM
08-20-2003 10:35 PM
Re: DDS3 & Ultrium tape backup script
What is the difference between these two commands?
#make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/1mn
#make_tape_recovery -A /dev/rmt/1mn
Regards
Ajk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 11:05 PM
08-20-2003 11:05 PM
Solution/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/1mn >/dev/null 2>&1
to create an interactive boot tape, -x provides flexibility.
Because new make_tape_recovery option -A doesn't quite mean vg00 as it did with make_recovery. So i like to replace -A with '-x inc_entire=vg00' when using make_tape_recovery.
/opt/ignite/bin/make_tape_recovery -Av to take backup of root vg(vg00) includes all files the vg00 into the archive(/dev/rmt/1mn). If no device file provided, it will be on the default tape drive /dev/rmt/0mn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 01:58 AM
08-21-2003 01:58 AM
Re: DDS3 & Ultrium tape backup script
Thanks a lot!
Regards
Ajk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 02:07 AM
08-21-2003 02:07 AM