Show TOC

pre_split_cmdLocate this document in the navigation structure

This parameter lets you execute external commands - that is, executable programs or scripts - directly before a BRBACKUP disk split as follows:

  • Offline split:

    • Split command scenario

      The external commands are executed before the database is stopped.

    • SPLITINT scenario

      The external commands are executed before the SPLITINT interface program is called.

  • Online split:

    • Split command scenario

      The external commands are executed before the tablespaces are set to backup status.

    • SPLITINT scenario

      The external commands are executed before the SPLITINT interface program is called.

pre_split_cmd = "<pre_split_cmd>"
         

BRBACKUP only accepts that the external commands have been successfully executed when:

  • Exit code 0 is returned

  • No messages are returned or only messages starting with #INFO

Example

You can use this parameter and post_split_cmd when performing a split-mirror backup of a standby database. In this case, you can use pre_split_cmd to stop the import of the offline redo log files with BRARCHIVE before the split and post_split_cmd to restart it again after the split.