The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Backup script for Aix without tape mount dsrules AIX 7 04-03-2008 04:39 PM
backup through tar command on remote tape girish.batra SUN Solaris 0 02-26-2008 05:51 AM
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 08:41 AM
Command line/Script to send E-mail with HTML body and binary attachment G-Man AIX 3 04-18-2007 06:30 PM
command line send mail ejbrever UNIX for Dummies Questions & Answers 1 08-29-2006 04:30 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2002
Registered User
 

Join Date: Jun 2002
Posts: 1
Question backup command that will send e-mail to mount 2nd tape

Hi,
I'm trying to come out with a script that uses the 'backup' command to backup large filesystems. Most of the time this data takes two or three DLT tapes to complete. The backup takes too long because operations never sees the message to mount 2nd tape. I have a script that uses sysback and have an option -c to send request to a file which I then send e-mail. But 'backup' command does not have it. Please help.
Maria
Forum Sponsor
  #2  
Old 06-14-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
This is just an idea, and may not work -- you will have to try it to find out....

Setup a script that monitors the tape device using "mt". "mt -f /dev/tapedevice status" should tell you if the device is in use. Presumably if the drive is waiting for the next tape, it will return "ready" and if it is still being written, it would return "busy". Run the command on your system to determine the actual output. Create a loop which runs that command every 10 minutes (or whatever) until the drive becomes free and then send an email from the command line....
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0