cancel
Showing results for 
Search instead for 
Did you mean: 

Tape Drive

HP-UX 11.31
Occasional Advisor

Tape Drive

Hi,

I have one HP tape drive connected on SCSI port. H/W address is mentioned below.

Could you please provide the command to take backup on tape drive.


# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 6 0/6/1/0.3.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 2 0/7/1/0.57.15.255.0.1.1 stape CLAIMED DEVICE IBM ULTRIUM-TD3
/dev/rmt/2m /dev/rmt/2mn /dev/rmt/c11t1d1BEST /dev/rmt/c11t1d1BESTn
/dev/rmt/2mb /dev/rmt/2mnb /dev/rmt/c11t1d1BESTb /dev/rmt/c11t1d1BESTnb
tape 3 0/7/1/0.57.15.255.0.1.2 stape CLAIMED DEVICE IBM ULTRIUM-TD3
/dev/rmt/3m /dev/rmt/3mn /dev/rmt/c11t1d2BEST /dev/rmt/c11t1d2BESTn
/dev/rmt/3mb /dev/rmt/3mnb /dev/rmt/c11t1d2BESTb /dev/rmt/c11t1d2BESTnb
4 REPLIES
Taifur
Respected Contributor

Re: Tape Drive

Hi HP-UX

1. To backup file / Create a new archive to tape

#tar -cfv /dev/rmt/xm /filepath
or
#tar cfv /dev/rmt/xm /filepath

2.To check the List the names of all the files in the archive

#tar -tvf /dev/rmt/xm >/tmp/backup_list.txt
#tar -tvf /dev/rmt/xm

To extract the file from the archive and restore it to the system
#tar -xvf /dev/rmt/xm /filepath


Rgds//
Taifur
R.K. #
Honored Contributor

Re: Tape Drive

Hi,

The tape drive connected at 0/6/1/0.3.0 does not have a name, try running:

# insf -eC tape
then,
#ioscan -fnC disk

So that we can have a name for the HP tape drive like /dev/rmt/0mn.

Now, there are different commands to take different types of backup.

First you must mention what do you wish to back up....like operating system or data.

For OS backup we can go with "ignite backup" and for data backup we can go with "fbackup".

For OS, take IGNITE backup:
#make_tape_recovery -x inc_entire=vg00 -a /dev/tape_device_name

For data backup we can use "fbackup", see man pages for the useful options.

Hope this helps..

Regds,
R.K.


Don't fix what ain't broke
Jeeshan
Honored Contributor

Re: Tape Drive

what type of backup you want to take?
a warrior never quits
Suraj K Sankari
Honored Contributor

Re: Tape Drive

Hi,
Which type of backup you want to take.

Ignite or simple FS backup

Suraj