Subscribe

SMO pretask to check online backup mode

[ Edited ]

Hi,

 

Anybody knows a way to SMO check if the database is already into online backup mode and skip the job until it exit this state?

 

--[ INFO] ORACLE-20019: Placing database prod into online backup mode.

--[ERROR] SMO-13032: Cannot perform operation: Backup Create. Root cause: ORACLE-10003: Error executing SQL "ALTER DATABASE BEGIN BACKUP" against Oracle database prod: ORA-01146: cannot start online backup - file 3 is already in backup

 

Thanks!