Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN backup job won't terminate
bcjm wrote:
> Server 8.1.6,
> Windonw NT 4.0
> Tivoli backup server
>
>
> When I issue a rman command with a command file like this:
> C:>rman target sys/xxx_at_targetdb rcvcat rman/rman_at_recoverdb
> cmdfile='d:\oracle\admin\backup_oracle.txt'
>
> The command will not end even the job is completed by reading the
> message on the screen. It just sitting there waiting for a input or
> something. I have to hit a ctrl C to terminate the job. The strange
> part is that it does not happen all the time. But it does it more and
> more often lately.
>
> My command file is like this:
> run {
> allocate channel d1 type='sbt_tape';
> allocate channel d2 type='sbt_tape';
> backup
> incremental level 0
> format 'df_%s_%t_%p' (database include current controlfile );
> sql 'alter system archive log current';
> backup format 'al_%s_%t_%p' (archivelog all delete input);
> }
>
>
> Anyone know why?
>
> Thanks
How about adding an exit statement?
-- Regards, Frank van BortelReceived on Wed Nov 19 2003 - 15:36:09 CST