Show TOC

-s|-sc|-ds|-dc|-sd|-scd|-ss|-ssd|-cs|-cdsLocate 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.

-s|-save|-sc|-second_copy|-ds|-delete_saved|-dc|-delete_copied|
-sd|save_delete|-scd|-second_copy_delete|-ss|-double_save|
-ssd|-double_save_delete|-cs|-copy_save|-cds|-copy_delete_save


         

Default value: -s

Possible values:

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

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

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

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

  • -sd|-save_delete: saves 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 saved and then deletes these files

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

  • -ssd|-double_save_delete: saves 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 saved and then saves the newly created offline redo log files

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