Entering content frame

Procedure documentation Restoring or Checking a Backup with a Succeeding Medium Locate the document in its SAP Library structure

Use

You specify the next medium from which reading in the backup is to continue. As a reply to this command, you receive the information about the import of the backup. The output is, however, only given when the backup has been completely read in or is interrupted. This command may therefore take a long time to execute.

Prerequisites

You have the DBM operator authorization Backup.

You have executed the command for restoring a database instance. The procedure was interrupted, because all backup data has been read from one backup medium.

Syntax

recover_replace <medium> [ExternalBackupID <ext_backup_ID>] [<loc> [<nnn>]]

<medium>

Medium from which the backup is to be read.
When restoring a backup made on several media at the same time, you must enter the name of the
group of parallel backup media here.

Options

ExternalBackupID <external_backup_ID>

To restore a backup created with an external backup tool, enter a backup ID name here with which the external backup tool will recognize the backup.

<loc>

Name of the device/the file in which the backup to be restored is stored.
Operating system functions must be able to address the device/file using
<loc>.

<nnn>

Actual backup version on the backup medium that is to be read; relevant only for a backup medium of the type FILE.

Note

It is vital you follow the current media naming conventions (see Defining or Changing a Backup Medium) to avoid error messages.

Reply

OK<NL>
Returncode <value><NL>
Date [<value>]<NL>
Time [<value>]<NL>
Server [<value>]<NL>
Database [<value>]<NL>
Kernel Version [<value>]<NL>
Pages Transferred [<value>]<NL>
Pages Left [<value>]<NL>
Volume Count [<value>]<NL>
Medianame [<value>]<NL>
Location [<value>]<NL>
Errortext [<value>]<NL>
Label [<value>]<NL>
Is Consistent [<value>]<NL>
First LOG Page [<value>]<NL>
Last LOG Page [<value>]<NL>
DB Stamp 1 Date [<value>]<NL>
DB Stamp 1 Time [<value>]<NL>
DB Stamp 2 Date [<value>]<NL>
DB Stamp 2 Time [<value>]<NL>
Page Count [<value>]<NL>
Devices Used [<value>]<NL>
Database ID [<value>]<NL>
Max Used Data Page [<value>]<NL>

Note

In particular, analyze the Returncode reply field, which contains a numeric value supplied by the kernel.

See also: Messages: SAP DB 7.2 and 7.3

If it is clear from the message number that the recovery was only interrupted, the session must be continued with the continuation command (recover_replace) or terminated (recover_cancel).

Values for the individual fields of the reply

Date

Date

Time

Time

Server

Name of the database server

Database

Name of the database

Kernel Version

Database kernel version

Pages Transferred

Number of pages transferred

Pages Left

Number of pages still to be transferred

Volumes

Number of backup media used

Medianame

Name of the backup medium

Location

File or device name

Errortext

Error message text

Label

Backup ID

Is Consistent

For data backup only: backup is internally consistent

First LOG Page

For data backup: first page of log backup to be read

For log backup: first page saved in log

Last LOG Page

For log backup only: last page saved in log

DB Stamp 1 Date
DB Stamp 1 Time

Time stamp for first page of log backup

DB Stamp 2 Date
DB Stamp 2 Time

Time stamp for last page of log backup

Page Count

Total number of pages saved

Devices Used

Number of backup devices used

Database ID

Database ID used to identify data and log backups that belong together

Max Used Data Page

Maximum number of pages used (indication of minimum database size when backup is imported)

 

In the event of errors, see Reply Format.

 

 

 

Leaving content frame