No, he was right, the script goes on when the DB backup is ended. But when
the DB backup is ready, it starts to dismount the tape. It doesn't wait
until it's dismounted.

I think a sleep command is usefull in many scripts....

I make the scripts in AIX, there i've got more options and can make
if/then's etc.

Regards,
   Maurice


----- Original Message -----
From: "Mark Stapleton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 10:55 PM
Subject: Re: Delay on script


On Fri, 16 Nov 2001 10:45:18 +0200, it was written:
>I wrote a script to make a Database Snapshot (with wait=yes) and a checkout
>of this tape. My problem is the command checkout run before the tape is
>dismount. Is it a delay command I can use in my script or an other idea ...

Why don't you publish that script for us here? The wait=yes should
guarantee that the dbs run should finish before it goes to the next
step in the batch file.

--
Mark Stapleton ([EMAIL PROTECTED])

Reply via email to