![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |