Show TOC

pre_back_cmdLocate this document in the navigation structure

This parameter lets you execute external commands - that is, executable programs or scripts - directly before offline redo log files are processed - that is, backed up or deleted - by BRBACKUP.

            pre_back_cmd = "<pre_back_cmd> $"
         

If the placeholder “$” is set, it is replaced by the following value when calling the relevant command or program:

  • 0: online database backup

  • 1: offline database backup

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_back_cmd to do certain pre- and post-processing before and after BRBACKUP processing.