cancel
Showing results for 
Search instead for 
Did you mean: 

Hot Backup Procedure

Hot Backup Procedure

Hi,

Could you please tell me some thing about backup commands. I am using fbackup command.

1. How to eject the tape using script.
2. How to check tape is not into Tape Drive.
3. Hot to check tape is into tape drive.
4. How to check tape is busy. Writing Data on the tape.

Thanks

GSM
Ghulam
3 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: Hot Backup Procedure

Hi,

1. mt -f /dev/rmt/... offl

Looking for the other things,

Michael
steven Burgess_2
Honored Contributor

Re: Hot Backup Procedure

Hi

You need to use the mt commands to manipulate drive

man mt

HT

Steve

take your time and think things through
Jean-Luc Oudart
Honored Contributor

Re: Hot Backup Procedure

Check a tape is (or is not )in the drive :
mt -f /dev/rmt/0m rew
check return code

a process running on the drive
fuser -fu /dev/rmt/0m
check output

Rgds,
Jean-Luc
fiat lux