Show TOC

pre_arch_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 BRARCHIVE.

            pre_arch_cmd = "<pre_arch_cmd> $"
         

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

  • 0: saving and possible deletion of offline redo log files

  • 1: only deletion of already saved offline redo log files

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