End Backup on Oracle Database

If the BRBACKUP terminates before completion, it may leave the tablespace in backup mode. You can check this using txn DB02 --> Current Sizes (in Tablespaces). The last column Backup should show "NOT ACTIVE".

To take them out of backup mode, you may run the following commands from sql prompt.


spool endbackup.lst
select distinct 'alter tablespace ' || tablespace_name || ' end backup;' from v$backup, dba_data_files where v$backup.status='ACTIVE' and v$backup.file#=file_id;
spool off
start endbackup.lst


Remove the lock file (/oracle/SID/sapbackup/.lock) left due to termination.

Comments

Popular posts from this blog

OS/DB Migration - CMD. STR, TOC, EXT, R3load, DDLDBS.TPL and more

Fixing Inconsistent Table - Table activation fails due to inconsistency between DD and DB

301 Redirect Using SAP Web Dispatcher