Show TOC

Syntax documentation-s|-sc|-ds|-dc|-sd|-scd|-ss|-ssd|-cs|-cds Locate this document in the navigation structure

This BRARCHIVE command option defines the BRARCHIVE function to be performed.

BRARCHIVE only performs the selected operation for the number of offline redo log files that you selected with the option -n. The program only deletes offline redo log files if they have already been successfully archived or copied.

If only one tape device exists, you can use the option -cs or -cds to ensure that BRARCHIVE creates a second copy of the offline redo log files in a run, deletes them if necessary and immediately continues with archiving. You can also achieve this by calling BRARCHIVE first with the option -s and then with the option -sc or -scd. However, in this case two BRARCHIVE calls are required.

Parameters in init<DBSID>.sap: archive_function.

Syntax Syntax

  1. -s|-save|-sc|-second_copy|-ds|-delete_saved|-dc|-delete_copied|
  2. -sd|save_delete|-scd|-second_copy_delete|-ss|-double_save|
  3. -ssd|-double_save_delete|-cs|-copy_save|-cds|-copy_delete_save
End of the code.

Default value: -s

Possible values:

  • -s|-save: archives the offline redo log files

  • -sc|-second_copy: creates a second copy of the offline redo log files that have already been archived

  • -ds|-delete_saved: deletes offline redo log files that have been archived once

  • -dc|-delete_copied: deletes offline redo log files that have been copied twice

  • -sd|-save_delete: archives offline redo log files and then deletes these files

  • -scd|-second_copy_delete: creates a second copy of the offline redo log files that have already been archived and then deletes these files

  • -ss|-double_save: archives the offline redo logs to two backup devices (tape devices) in parallel

  • -ssd|-double_save_delete: archives the offline redo logs to two backup devices (tape devices) in parallel and then deletes the files

  • -cs|-copy_save: creates a second copy of offline redo log files that have already been archived and then archives the newly created offline redo log files

  • -cds|-copy_delete_save: creates a second copy of offline redo log files that were already archived, then deletes them and starts archiving of the newly created offline redo log files