Show TOC Start of Content Area

Syntax documentation -a|-archive  Locate the document in its SAP Library structure

This BRBACKUP command option starts BRARCHIVE at the end of a BRBACKUP run.

Input syntax: -a|-archive [<bra_options>]

Default: BRBACKUP and BRARCHIVE are called separately, the backup of the data files and the offline redo log files takes place in separate backups on separate tapes.

When you specify the option -a BRARCHIVE is automatically started after the BRBACKUP backup of the data files. The offline redo log files, as well as all logs, are then copied by BRARCHIVE to the same tape(s) immediately after the backed up database files. This is also possible to disk with BACKINT. The main advantage of this procedure is that you only have to start or schedule one program (usually BRBACKUP). The second program is started automatically after the first program has ended. If the backup is made to tape, you can also use the tape capacity optimally.

This procedure enables both an unattended backup and an effective usage of tape capacity.

You can also specify other options for BRARCHIVE backups. If not the appropriate defaults are used. The option -a(including the additional options) must always be placed at the end of the BRBACKUP command line call.

See: Command Options for BRARCHIVE and Initialization Profile init<DBSID>.sap

Example

Unattended online backup of a database in parallel on two tape devices followed by a startup of BRARCHIVE, in order to create two copies of the offline redo log files in parallel on the same tapes.

brbackup -m all -t online -c -a -ssd -c

 

See also:

BRBACKUP and BRARCHIVE Backups in One Run

End of Content Area