Entering content frame

 Procedure documentation Creating Multiple Archives of the Version Files Locate the document in its SAP Library structure

Use

You create multiple archives of the original version files for the log backups on different external backup media. You can also use different external backup tools to do this.

Exactly the same version files are processed as were copied to the first external backup medium using the command for archiving version files once, which must be executed beforehand.

The archived version files are assigned their own external backup IDs and are entered in the backup history.

Note

The DBM command for creating multiple archives of the version files on external backup media is supported from database version 7.04.03.

It can be executed only in the same session as the DBM server, just like the command for archiving the version files once, which must be executed first.

Prerequisites

·        Your database instance has at least version 7.04.03.

·        You have the server authorization Backup.

·        You have executed the DBM command for archiving the version files once, specifying the KEEP option.

·        The external backup media are defined for the backup type LOG (see: Creating or Changing a Backup Medium).

Syntax

archive_stage_repeat <ext_backup_medium> [VERIFY | NOVERIFY] [REMOVE | KEEP]

Options

Option

Description

<ext_backup_medium>

Name of the external backup medium

VERIFY

System default value

The archived files are compared with the original files.

NOVERIFY

The system only performs the standard checks to determine whether the backup was successful. The system displays error messages and the output of the backup tools.

REMOVE

System default value

The original files are deleted after they have been successfully archived to the external backup medium.

KEEP

The original files are archived but are not deleted afterwards.

Reply

OK
Processed Stage Files
  <number>
Bytes Processed
         <number>
Deleted Stage Files
    <number>
Remaining Stage Files
  <number>

Values for the Reply Fields

Value

Description

Processed Stage Files

Processed version files

Bytes Processed

Processed bytes

Deleted Stage Files

Deleted version files

Remaining Stage Files

Remaining version files

 

Example

Logging on to the Database Manager CLI as operator DBM with password DBM, connecting to the HOTELDB database instance,
creating multiple archives of the original version files 1 and 3-10,
the version files are located on the backup medium LOGMEDIUM and are to be archived first to the external backup medium EXTMEDIUM_1 and then EXTMEDIUM_2; only the standard system checks are to be carried out and the version files are not to be deleted afterwards

dbmcli -u DBM,DBM -d HOTELDB

dbmcli on HOTELDB>archive_stage EXTMEDIUM_1 LOGMEDIUM NOVERIFY KEEP FNL 1,3-10

OK
Processed Stage Files
  9
Bytes Processed
      12845056
Deleted Stage Files
    0
Remaining Stage Files
  2

 

dbmcli on HOTELDB>archive_stage_repeat EXTMEDIUM_2

OK
Processed Stage Files
  9 
Bytes Processed      12845056
Deleted Stage Files
    9
Remaining Stage Files
  0

 

Leaving content frame