Ian Goddard wrote:
>
> Jane Johnson wrote:
> >Date: Tue, 07 Jan 1997 14:15:05 -0800
> >
> >We are trying to use one tape drive for the archive and the log backup.
> >we wrote a script to do the backup log first, when this is done, do the
> >archive. The probelm is that when to swap the tape from log tape to
> >archive tape without physically checking to see if the log backup has
> >finished (the light goes off when the backup finishes). It seems that
> >the
> >backup runs in the background, so we can't see the log backup status
> >from the terminal. Any suggestions? Thanks in advance!
>
> I'm not sure what the problem is. You have to be physically present at
> the tape drive to swap the tape so why not wait until the light goes
> out?
>
> You mention that the backup runs "in the background". Doea this mean
> that you are using the "continuous" backup mode? If so, kill the backup
> before starting the archive. This will write the current log to the
> tape. When this has been completed you can change to the archive tape
> and then restart log backups after the archive has finished. The only
> requirement is that you should have sufficient logical log space to
> ensure that it won't fill up whilst your archive is running.
>
> Does this answer your question or have I missed something?
>
> Ian
Just can't you see if the tape device is in use ?
With 'fuser' for example ?
--
Valery Fouques valou@hotmail.com
SYSADM GOSPORT-FRANCE /\\oO/\\
_ __/|
\\`O.o' "355/113 -- Not the famous irrational
=(_ _)= number PI, but an incredible simulation!"
U