Procedure documentation Defining or Changing a Backup Medium Locate the document in its SAP Library structure

Use

You create a new Structure linkbackup medium or change the data for a backup medium that already exists. To do this, you must make the following specifications:

<name>

The backup medium specified in <name> is created or updated. The name of the medium may comprise a group name and a member name. These are separated by an oblique.

<name> ::= [<group_name>/]<member_name>

Structure linkGroups of Parallel Backup Media of this type are used for Structure linkparallel backups and restores.

If you want to perform a backup or a restore using one of the Structure linkexternal backup tools ADSM/TSM, NetWorker, Backint for Oracle, or Backint for SAP DB, ensure the name of the medium starts with ADSM, NSR, BACK, or BACK. In this case, you can only enter PIPE under <type> (Backing Up with External Backup Tools).

<location>

The name of the device/file with which it can be addressed through operating system functions.

<type>

Type of the backup medium. Possible values are:

AUTO
TAPE
FILE
NOREWIND
PIPE
UNKNOWN

The media type AUTO is the default value for the command to Activate the Automatic Log Backup. There can only be one backup medium of this type. If there is already a backup medium of type AUTO, and you create a backup medium of type AUTO again, the system changes the media type of the existing backup medium to LOG.

<backup_type>

The type of backup for which the medium is to be used:
DATA (complete Structure linkdata backup), PAGES (incremental data backup), or LOG (Structure linklog backup)

<size>

Maximum number of Structure linkpages that can be written to the backup medium. This is necessary to change the tape correctly, for example. If the backup media is of sufficient size, a zero can be specified.

<block_size>

Number of pages that are transferred when accessing the medium (default: 8).

<overwrite>

This option is only relevant for the medium type FILE and describes the behavior if the file is already present. Permitted values are:
NO
YES

<autoldr>

Specifies whether the device changes the medium automatically:
YES
NO

<oscmd>

Operating system command to be executed before backing up to a succeeding medium or restoring a succeeding medium.

Prerequisites

You have the DBM operator authorization Backup.

Syntax

medium_put <name> <location> <type> <backup_type> <size> <block_size> <overwrite> <autoldr> <oscmd>

Examples: Creating Backup Media

Reply

OK

In the event of errors, see Reply Format.